'How do I delete a row when two dataframes in pandas do not have the same length? - python
I have two dataframes in pandas:
df1 can have 365 or 366 rows
df2 has 366 rows
If df1 and df2 have the same number of rows I want to output "same row size". If, df1 and df2 don't have the same sizes I want to delete row 59 at df2.
all because of leap year :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
