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

import pandas as pd

data = pd.read_csv('/kaggle/input/ibex3519942020/IBEX-2021.csv')

fg, ax = plt.subplots(1, 2, figsize=(20, 7))
ax[0].plot(data['Open'], label='Open', color='green')
ax[0].set_xlabel('Date', size=15)
ax[0].set_ylabel('Price', size=15)
ax[0].legend()
ax[1].plot(data['Close'], label='Close', color='red')
ax[1].set_xlabel('Date', size=15)
ax[1].set_ylabel('Price', size=15)
ax[1].legend()
fg.show()