text_plain_output_1.png
import math

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

data = '/kaggle/input/110-1-ntut-dl-app-hw3/IXIC.csv'
df = pd.read_csv(data)
df

df.shape

new_df = df.filter(['Close'])
dataset = new_df.values
training_data_len = math.ceil(len(dataset) * 0.8)
training_data_len