TrafficLightDataset#

A Dataset specialized for traffic light data.

Constructor#

TrafficLightDataset([data, index, columns, ...])

Dataset of traffic light information

Serialization / IO / conversion#

TrafficLightDataset.from_csv(file[, indices])

Read a dictionary-alike object from a .csv file as a pandas DataFrame.

Analysis#

TrafficLightDataset.synchronize(ds)

Synchronize the given trajectory with this traffic light dataset

Attributes#

TrafficLightDataset.attributes

Returns the dataset attributes

TrafficLightDataset.ids

Returns the unique ids in the dataset

TrafficLightDataset.interval

Returns the time interval this object spans

TrafficLightDataset.timestamps

The unique timestamps in the dataframe

Note

All pandas DataFrame methods are also available.