Advertisement
elena1234

categorical data in Python

Jan 5th, 2023 (edited)
1,114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. summer.info()
  2. summer.describe(include = ['O'])
  3. summer.nunique()
  4. summer.City = summer.City.astype("category")
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement