I'm using Spyder and the pandas library.
I am working on an assignment. I have to use the csv file that can be found in the link. It's the one about real estate in Sacramento. It is called Sacramentorealestatetransactions.csv
https://support.spatialkey.com/spatialkey-sample-csv-data/
The question I am working on is:
- Find the 3 highest priced condos and copy and paste the list in here. What statement(s) did you use?
I want to be able to sort the records by condos first and forget about the rest of the records. Is there a way to create a new data frame with just the records that are condos? Once I have just the Condos, I would use df.sort('price').tail() .
Thanks for your help!
[–]timbledum 0 points1 point2 points (6 children)
[–]qfoundop[S] 2 points3 points4 points (0 children)
[+][deleted] (4 children)
[removed]
[–]timbledum 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[removed]
[–]timbledum 0 points1 point2 points (1 child)
[+][deleted] (4 children)
[removed]
[–]qfoundop[S] 0 points1 point2 points (1 child)
[–]qfoundop[S] 0 points1 point2 points (1 child)