pandas

In pandas, you can use the following command: 

    DallasData1 = DallasData[DallasData['days_old']>500]

Run the following command to check whether it did the intended operation.

    DallasData1[DallasData1['days_old']<400]

This should return 0 rows if the delete action was performed correctly.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset