2

I am getting this message:

Columnar iteration over characters will be deprecated in future releases.

when running this line of code in python:

df['TB_mins'], df['TB_secs'] = df['TB'].str.split(':').str

(it splits the text in column TB, which is always of 'mm:ss' pattern, into 2 distinct columns).

How can I avoid the warning, and still get the same result ?

horace_vr
  • 2,702
  • 5
  • 27
  • 44

0 Answers0