DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas split column into multiple columns
df.Name.str.split(expand=True,) 0 1 0 Steve Smith 1 Joe Nadal 2 Roger Federer
Source by cmdlinetips.com #
PREVIOUS
NEXT
Tagged:
#pandas
#split
#column
#multiple
#columns
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit