Advertisement
AlexErin1308

Task #3

Mar 7th, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. import pandas as pd
  2.  
  3. position = pd.read_csv('/datasets/position.csv')
  4. position['timestamp'] = pd.to_datetime(position['timestamp'], format='%Y.%m.%dT%H:%M:%S')#переведем данные из строкового типа в datetime64 в столбце 'timestamp'
  5. print(position.head())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement