Assuming your dataframes have columns date, value1 and value2, you can join them on the same days using merge and specifying the how argument as "inner". Here's an example:
main.py594 chars15 lines
This will output a dataframe with only the rows where the days and months match between the two dataframes. You can customize the join condition by modifying the on argument.
Note that if your dataframes have different columns, you may need to use the suffixes argument to avoid column name collisions.
gistlibby LogSnag