Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

string split in pandas

train[['deck', 'num','side']] = train['Cabin'].str.split('/', expand=True)
 
PREVIOUS NEXT
Tagged: #string #split #pandas
ADD COMMENT
Topic
Name
3+9 =