Closed cassin-edwin closed 1 year ago
Please provide a self-contained code snippet that I can run to get the same error, I cannot help you if I cannot reproduce it.
Self contained code: Just within the quotes of pd.read_excel line, replace the content with what comes when you run the code (!pip install gdown) next to 'To'
!pip install pyextremes
!pip install gdown
!gdown 'https://docs.google.com/spreadsheets/d/1xaXMsCRHxTmgaZDpA2roXRoF2SW0lreuxkG-EI7eWho/edit?usp=sharing'
import pandas as pd data = pd.read_excel('/Users/cassin/Desktop/export?format=xlsx')
from pyextremes import plot_parameter_stability plot_parameter_stability(data['dat'])
Please let me know if you need anything.
Your data is not time series: it must be a pandas.Series
object with date time index. Please refer to this section for more details https://georgebv.github.io/pyextremes/quickstart/#read-data
I have a continuous column data and wanted to plot plot_parameter_stability() from pyextremes. But I am getting an error. When I used the same column for plot_mean_residual_life() it outputted the plot perfectly.
Error: I had hidden the column name for confidential purposes
Sample values of the data:
Code was run on the following versions:
pyextremes - 2.3.1
Please help.