

User_id ( str, optional) – the name of the column containing the user id values Longitude ( str, optional) – the name of the column containing the longitude valuesĭatetime ( str, optional) – the name of the column containing the datetime values

Latitude ( str, optional) – the name of the column containing the latitude values Read a trajectory file and return a TrajDataFrame. TrajDataFrame ( data, latitude = 'lat', longitude = 'lng', datetime = 'datetime', user_id = 'uid', trajectory_id = 'tid', timestamp = False, crs =, sep = ',', parameters = None )

Scikit-mobility provides two different data structures, both extending the Pandas dataframe: TrajDataframe is designed to deal with trajectories, i.e., data in form of GPS points FlowDataFrame allows to manage fluxes between places.
