Answers for "splitting column values in pandas"

0

splitting column values in pandas

df[['A', 'B']] = df['AB'].str.split('@', 1, expand=True)
#'@' - Split at @
#1 = Axis 1 i.e on column level
Posted by: Guest on August-10-2021

Code answers related to "splitting column values in pandas"

Python Answers by Framework

Browse Popular Code Answers by Language