I would like to pull the value in the 'count' column into another df that has 1.4 million rows based on the identical month and year.
Below is my code:
if (df['MONTH'] == count_10_years['MONTH']) & (df["YEAR"] == count_10_years['YEAR']):
df['NUM_DAYS'] = count_10_years['count']
Error: ValueError: Can only compare identically-labeled Series objects