In this video we first review how to split a column in a pandas dataframe as fast as possible. Then we go into more detail and discuss how the Series.str.split() method works and discuss the most common arguments.
Did you find this video helpful? Consider subscribing for weekly tips, tricks, and tutorials.
/ @chartexplorers
Data & Jupyter Notebook with explanations provided at the github link below
https://github.com/bvalgard/How-to-st...
0:00 Intro
0:10 Fast Answer
0:51 Sett up
1:48 Simple Split
3:04 n argument
3:50 expand argument
4:41 rename method
6:00 Append to df
7:14 replace method
8:13 NaN & uneven splits