Search
 
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
Name
2+8 =