Mar-11-2019, 02:34 AM
Hello all,
Brand new to Python! I've tried search keywords for this solution but came up with unrelated examples with commas / delimiters. Any assistance would be greatly appreciated.
Loading from csv into a df,
Data set column = "Month of Year" - values (201801,201802,201803)
I would like to split up this column into a Month and a Year column ( Month = 01, Year = 2018 ).
In excel, this would be a text to column function, any idea on what the equivalent would be in python?
Thank you
Brand new to Python! I've tried search keywords for this solution but came up with unrelated examples with commas / delimiters. Any assistance would be greatly appreciated.
Loading from csv into a df,
Data set column = "Month of Year" - values (201801,201802,201803)
I would like to split up this column into a Month and a Year column ( Month = 01, Year = 2018 ).
In excel, this would be a text to column function, any idea on what the equivalent would be in python?
Thank you