print(autos["price"].unique().shape) print(autos["price"].describe()) autos["price"].value_counts().sort_index(ascending=False).head() autos[autos["price"].between(500,20000)]
What I expected to happen:
To be able to see the outliers removed and get a better view of the data.
What actually happened:
count 5.000000e+04 mean 9.840044e+03 std 4.811044e+05 min 0.000000e+00 25% 1.100000e+03 50% 2.950000e+03 75% 7.200000e+03 max 1.000000e+08 Name: price, dtype: float64
When I had fixed previous code, I had rerun the kernel which led to cells working out of order. This led to an error on the replace set (I think screen 4) because it has already been done. Am I able to start from the beginning as the autos.csv file seems to be altered and I can’t move forward with the mistakes I’ve made.