text_plain_output_1.png
import numpy as np

import pandas as pd

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
np.random.seed(1)

data = pd.read_csv('../input/AAPL.csv')

data['Date'] = pd.to_datetime(data['Date'])

X = np.array(data['Open'])
X = X.reshape(X.shape[0], 1)
X.shape