Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

logo_ironhack_blue 7

Lab | Cleaning categorical data

For this lab, we will be using the same notebook as in the previous lab.

Data Analysis Process

Remember the process:

  • Case Study
  • Get data
  • Cleaning/Wrangling/EDA
  • Processing Data
  • Modeling -Validation
  • Reporting

Instructions

  1. Open the notebook created for Lab-cleaning-numerical-data.

  2. Find all of the categorical data. Save it in a categorical_df variable.

  3. Check for NaN values and decide what to do with them, do it now.

  4. Check all unique values of columns.

  5. Check dtypes. Do they all make sense as categorical data?

  6. Does any column contain alpha and numeric data? Decide how to clean it and do it now.

  7. Would you choose to do anything else to clean or wrangle the categorical data? Comment your decisions and do it now.

  8. Compare policy_type and policy. What information is contained in these columns. Can you identify what is important?

  9. Check number of unique values in each column, can they be combined in any way to ease encoding? Comment your thoughts and make those changes.

  10. Save the cleaned catagorical dataframe as categorical.csv You will use this file again this week.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages