text_plain_output_1.png image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

df = pd.read_csv('../input/bharti-airtel-stock-proce/BHARTIARTL.NS.csv')

df.shape

df.columns

df.sample(5)

df_1 = df.set_index('Date')

df_1.sample(5)

df_1['Close'].plot(figsize=(20, 5), color='g')
plt.title('AIRTEL Stock Price - 5Y', fontsize=20)