pandas split column fixed width

32

df[['CCY1','CCY2']] = df.CCYPair.str.extract('(.{3})(.*)')

Comments

Submit
0 Comments