()
| 147 | |
| 148 | @pytest.fixture |
| 149 | def simple_dataset_1() -> pd.DataFrame: |
| 150 | now = _utc_now() |
| 151 | ts = pd.Timestamp(now).round("ms") |
| 152 | data = { |
| 153 | "id_join_key": [1, 2, 1, 3, 3], |
| 154 | "float_col": [0.1, 0.2, 0.3, 4, 5], |
| 155 | "int64_col": [1, 2, 3, 4, 5], |
| 156 | "string_col": ["a", "b", "c", "d", "e"], |
| 157 | "ts_1": [ |
| 158 | ts, |
| 159 | ts - timedelta(hours=4), |
| 160 | ts - timedelta(hours=3), |
| 161 | ts - timedelta(hours=2), |
| 162 | ts - timedelta(hours=1), |
| 163 | ], |
| 164 | } |
| 165 | return pd.DataFrame.from_dict(data) |
| 166 | |
| 167 | |
| 168 | @pytest.fixture |