BostonSafety Class
Represents the Boston Safety public dataset.
This dataset contains 311 calls reported to the city of Boston. For more information about this dataset, including column descriptions, different ways to access the dataset, and examples, see Boston Safety Data in the Microsoft Azure Open Datasets catalog.
Initialize filtering fields.
- Inheritance
-
azureml.opendatasets._city_safety.CitySafetyBostonSafety
Constructor
BostonSafety(start_date: datetime = datetime.datetime(2001, 1, 1, 0, 0), end_date: datetime = datetime.datetime(2024, 2, 7, 0, 0), cols: List[str] | None = None, enable_telemetry: bool = True)
Parameters
- start_date
- datetime
The date at which to start loading data, inclusive. If None, the default_start_date
is used.
- end_date
- datetime
The date at which to end loading data, inclusive. If None, the default_end_date
is used.
A list of columns names to load from the dataset. If None, all columns are loaded. For information on the available columns in this dataset, see Boston Safety Data.
a list of column names you'd like to retrieve. None will get all columns.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for