I am looking to split the following column to two columns in my pandas dataframe by splitting on the last 0 in every row.
000012345
000012345
000012345
What I would like it to look like
0000 12345
0000 12345
I've been looking into str.split from can't seem to figure how to approach this as there is no usual delimiter, and I can not figure out how to make it split on the 4th 0.
I have had success with a similar issue previously with the following command, but can not seem to figure it out, as im not looking to split labels, but values in the rows.
df.labels.str.split(':',1).tolist()