Menu

Loading the Dataset

Loading the Dataset

After importing the libraries, load the stock market dataset.

Code

stock_data = pd.read_csv("NSE-TATAGLOBAL11.csv")

Explanation

The dataset is loaded into a Pandas DataFrame.

Each row represents one trading day, while each column stores information about stock prices and trading activity.