Given a DataFrame with numeric data stored as strings, convert the price column to float type.
DataFrame df with columns: item, price (price is stored as strings)
price column from string to floatresultReady to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.