Each row represents the availability of car-sharing services near the centroid of a zone in Montreal over a month-long period. Parameters ---------- return_type: {'pandas', 'polars', 'pyarrow', 'modin', 'cudf'} Type of the resulting dataframe Returns -------
(return_type="pandas")
| 204 | |
| 205 | |
| 206 | def carshare(return_type="pandas"): |
| 207 | """ |
| 208 | Each row represents the availability of car-sharing services near the centroid of a zone |
| 209 | in Montreal over a month-long period. |
| 210 | |
| 211 | Parameters |
| 212 | ---------- |
| 213 | return_type: {'pandas', 'polars', 'pyarrow', 'modin', 'cudf'} |
| 214 | Type of the resulting dataframe |
| 215 | |
| 216 | Returns |
| 217 | ------- |
| 218 | Dataframe of `return_type` type |
| 219 | Dataframe` with 249 rows and the following columns: |
| 220 | `['centroid_lat', 'centroid_lon', 'car_hours', 'peak_hour']`. |
| 221 | """ |
| 222 | return _get_dataset("carshare", return_type=return_type) |
| 223 | |
| 224 | |
| 225 | def stocks(indexed=False, datetimes=False, return_type="pandas"): |
nothing calls this directly
no test coverage detected