python - Pandas: Remove rows based on date comparison between columns in same dataframe -


i complete coding novice , have been experimenting pandas. apologize complete newbie question.

i remove rows date1 later date2

    date1      date2    0   1/1/15     3/1/15       1   1/23/14    6/9/13   2   8/4/12     1/9/11      3   3/31/14    3/31/15 

i end result follows:

     date1      date2    0   1/1/15     3/1/15           3   3/31/14    3/31/15 

how do this? in advance!


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -