text_plain_output_1.png image_output_1.png
import pandas as pd

train_df = pd.read_csv('/kaggle/input/osgdxaspectcapital/train.csv', index_col=0)
X_test = pd.read_csv('/kaggle/input/osgdxaspectcapital/test.csv', index_col=0)
X_train = train_df[[c for c in train_df if c != 'y']]
y_train = train_df['y'].values

sample = X_train.sample(n=1)
sample_market = sample['Market'].values[0]
sample_series = sample.iloc[:, 1:].T
sample_series.index = pd.to_datetime(sample_series.index, format='Time_%H_%M_%p').time

sample_series.plot()