0

I have a dataframe with 5 columns. One column called Date contains a list of dates.

Say the dates range from 1st Jan 2015 to 1st Jan 2019.

I want to remove all rows where the Date is less than the 1st March 2018.

Below are the things I have tried without any luck.

dc = urv['Date'] >= pd.Timestamp(2018, 3, 1)
urv.drop(dc=False)


urv.drop(urv['Date'] >= pd.Timestamp(2018, 3, 1))
mHelpMe
  • 6,336
  • 24
  • 75
  • 150

0 Answers0