text_html_output_2.png
import matplotlib.pyplot as plt

import pandas as pd

df = pd.read_csv('/kaggle/input/tomato-daily-prices/Tomato.csv')
backup = df.copy(deep=True)

df['Date'] = pd.to_datetime(df['Date'])
fig, ax = plt.subplots(figsize=(12, 6))
ax.plot(df['Date'], df['Average'])
ax.set_title('Tomato Weight Time Series')
ax.set_xlabel('Date')
ax.set_ylabel('Average Weight')
plt.show()