1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Feature Engineering for NLP in Python

Connected

अभ्यास

One-hot encoding

In the previous exercise, we encountered a dataframe df1 which contained categorical features and therefore, was unsuitable for applying ML algorithms to.

In this exercise, your task is to convert df1 into a format that is suitable for machine learning.

निर्देश 1/3

undefined XP
    1
    2
    3
  • Use the columns attribute to print the features of df1.