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

kw = pd.read_csv('/kaggle/input/2023-kaggle-ai-report/kaggle_writeups_20230510.csv', parse_dates=[0, 3])

past_two_years_kw = kw[(kw['Competition Launch Date'].dt.year > 2020) & (kw['Competition Launch Date'].dt.month > 4)]
num_comp_past_two_years = past_two_years_kw['Title of Competition'].nunique()
print(f'Number of competitions from the past two years: {num_comp_past_two_years}.')