Mar-06-2023, 07:24 PM
For some reason the fit became more accurate when I changed x = np.arange(df.iloc[:,-1:].size) to x = np.linspace(0,1,len(df.iloc[:,-1:])). Grateful for an explanation if this really is the solution.
Fit straight line to pandas time series data with semilog plot
|
|
Messages In This Thread |
Fit straight line to pandas time series data with semilog plot - by schniefen - Mar-06-2023, 05:16 PM
RE: Fit straight line to pandas time series data with semilog plot - by schniefen - Mar-06-2023, 07:24 PM
RE: Fit straight line to pandas time series data with semilog plot - by jefsummers - Mar-10-2023, 01:08 PM
|