haggarw3 / lab-customer-analysis-round-2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo_ironhack_blue 7

Lab | Customer Analysis Round 2

For this lab, we will be using the marketing_customer_analysis.csv file that you can find in the files_for_lab folder.

Note - For the next labs we will be using the same data file. Please save the code, so that you can re-use it later in the labs following this lab.

Dealing with the data

  1. Show the dataframe shape.
  2. Standardize header names.
  3. Which columns are numerical?
  4. Which columns are categorical?
  5. Check and deal with NaN values.
  6. Datetime format.
  7. BONUS: Put all the previously mentioned data transformations into a function.

About