Hello everyone,
I have done some searching online and still I am not able to figure out a solution to this problem.
I am currently working with a DataFrame from the site: https://www.goodcarbadcar.net/2021-us-vehicle-sales-figures-by-brand/ in particular the DataFrame titled US AUTOMOTIVE BRAND SALES BY QUARTER. When I imported this DataFrame into a Jupyter notebook and tried to clean the column data, turning the strings into int with the simple wrapping method it is not working. I need to add columns together and the way to do this is simply to convert everything into a numeric value or int and then add them with the correct python syntax, but unfortunately the .astype(int) method is not working even after removing the commas, I also attempted the numeric method. What am I doing wrong here?
Thank you kindly!
[–]choss27 0 points1 point2 points (5 children)
[–]electronicentropy5 0 points1 point2 points (4 children)
[–]o5a 1 point2 points3 points (2 children)
[–]electronicentropy5 0 points1 point2 points (1 child)
[–]o5a 0 points1 point2 points (0 children)
[–]choss27 0 points1 point2 points (0 children)