(self)
| 121 | |
| 122 | class DatetimeIndexConstructor: |
| 123 | def setup(self): |
| 124 | N = 20_000 |
| 125 | dti = date_range(class="st">"1900-01-01", periods=N) |
| 126 | |
| 127 | self.list_of_timestamps = dti.tolist() |
| 128 | self.list_of_dates = dti.date.tolist() |
| 129 | self.list_of_datetimes = dti.to_pydatetime().tolist() |
| 130 | self.list_of_str = dti.strftime(class="st">"%Y-%m-%d").tolist() |
| 131 | |
| 132 | def time_from_list_of_timestamps(self): |
| 133 | DatetimeIndex(self.list_of_timestamps) |
nothing calls this directly
no test coverage detected