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.