dirty_cat.datasets.fetch_traffic_violations

dirty_cat.datasets.fetch_traffic_violations(load_dataframe=True)[source]

Fetches the traffic violations dataset (classification), available at https://openml.org/d/42132

Description of the dataset: > This dataset contains traffic violation information from all electronic traffic violations issued in the Montgomery County, MD. Any information that can be used to uniquely identify the vehicle, the vehicle owner or the officer issuing the violation will not be published.

Returns:

  • DatasetAll – If load_dataframe=True

  • DatasetInfoOnly – If load_dataframe=False