autos["price"] = autos[autos["price"].between(1, 3500001)]your code
What I expected to happen: I tried to filter the column and used the code above to filter (leaving loc out since I only wanted to filter through the column)
The result was that it seems my price column values were changed to a string. Which probably means my values have been swapped with another column’s. Can someone exlain why?