I have searched a lot for this problem but dint found the answer. similar issue occured here but dint got answer to his question.
i have this csv, it has seconds data in it, but when i use read_csv()
the seconds data gets lost, or if we use parse date
the seconds gets replaced by zeroes.
here's the code:
orderbook = pd.read_csv('orderbook.csv', usecols = ['Nest UpdateTime'], parse_dates = ['Nest UpdateTime'])
outputs the time column as this:
Nest UpdateTime
2020-06-16 14:51:00
2020-06-16 14:43:00
2020-06-16 14:42:00
while the csv has seconds data, the seconds are getting replaced by zeroes as you can see in the output above.
how do i fix it so that i could get the seconds that are present in csv instead of zeroes? plz help.