Im using this code to plot my data but because their ranges are quite different, i need different axes to view the smaller time series. Here is my code:
import pandas as pd
from pandas import Series
%matplotlib inline
from statsmodels.tsa.seasonal import seasonal_decompose
from sklearn.preprocessing import RobustScaler
# Seasonal exploration visualizing ts
import matplotlib.pyplot as plt
import seaborn as sns
# Set 3 of commands to plot 1 column from multiple series on excel file
df=pd.read_excel('DataLSTMReady.xlsx')
df=df.set_index('Date')
df=df.iloc[:,[0,1,3]] #df=df.iloc[:,0:4]
list_of_column_names = list(df.columns)
print(list_of_column_names)
print(df)
df[list_of_column_names].plot()#df['Infl Mens'].plot()
sns.set(rc={'figure.figsize':(11, 4)})
df[list_of_column_names].std()
and I get all the data as expected and this chart at the end:
Here is my data:…uh, how do i attach an excel file?