Advertisement
elena1234

split method in Python

Jan 4th, 2023 (edited)
880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | Source Code | 0 0
  1. split = cars.name.str.split(pat = " ", n = 1, expand = True)
  2. split
  3. split[0].value_counts()
  4.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement