6 questions
0
votes
0
answers
68
views
Plot regression line for dtype Period (Q_DEC) vs int column: python
I am unable to plot a regression line for a simple dataframe that consists of a period formatted date column and a integer column. The sample dataframe may be created using below code:
df = pd....
2
votes
1
answer
173
views
Plotting two lines of best fit, and finding intersection point, on a 'dogleg' plot uisng Seaborn
I am trying to fit two lines of best fit on this plot, and to find the intersection point of these lines. This will be used in conjunction with a seaborn.facetgrid to show a trend across years.
I ...
2
votes
1
answer
10k
views
How to plot linear regression with Seaborn based on a prediction of a target variable?
I'm learning the very basics of data science and started with regression analysis. So I decided building a linear regression model to examine the linear relationship between two variables (chemical_1 ...
7
votes
1
answer
3k
views
control seaborn regplot confidence intervals translucency
Anyone has a way to control the degree of translucency of the confidence intervals in seaborn regplot?
It's been bugging me (especially for black background plots) for a while and I still could not ...
3
votes
2
answers
8k
views
Seaborn regression plot with different colors
I want to plot a linear regression model fit for my dataset using Seaborn.
As this data set has different depths in water column (Bottom, Middle and Top), I wanted my plot to have 3 different colors, ...
11
votes
1
answer
4k
views
regplot using datetime64 as the x axis
I have a dataframe looks like this:
date score
2017-06-04 90
2017-06-03 80
2017-06-02 70
When I tried this:
sns.regplot(x=date, y=score, data=df)
I got an error:
TypeError: ...