1. Learn
  2. /
  3. Courses
  4. /
  5. Visualizing Geospatial Data in Python

Exercise

Troubleshooting data issues

You will be building popups for the downtown art using the title and desc columns from the urban_art DataFrame. Here, you will inspect those columns to identify and clean up any problematic values.

Instructions

100 XP
  • Print and inspect the values in the title column of the urban_art DataFrame.
  • Print and inspect the values in the desc column of the urban_art DataFrame.
  • Use the fillna() method to replace the NaN values in the desc column with empty strings, and use .str.replace to replace the apostrophes (') with back-ticks (`).
  • Print the descriptions again to verify your work.