I have a dataset whit two colums, one for date in this format 20190313 and I convert to date time with this code:
import pandas as pd
from functools import reduce
pd.set_option("display.max_columns", 500)
df['Date_O'] = pd.to_datetime(df.Date_O)
This transform the string into: 2019-03-28
but for the time column I have rows with nine characters like this: 130928487 and eight character rows like this: 91957277.
How I can transform that column into a readable time format? I Tried already with datetime
130928487indicates which format?