Reset navigation to initial state
(self, group_cols: Optional[List[str]] = None)
| 258 | return raw |
| 259 | |
| 260 | def reset(self, group_cols: Optional[List[str]] = None): |
| 261 | """Reset navigation to initial state""" |
| 262 | self.history.clear() |
| 263 | self.grouping_history.clear() |
| 264 | # Standardize group columns to lowercase |
| 265 | group_cols_lower = [self._canonical(col) for col in (group_cols or [])] |
| 266 | self.current_frame = NavigationFrame( |
| 267 | filters={}, |
| 268 | exclude_filters={}, |
| 269 | group_cols=group_cols_lower, |
| 270 | description="All data" |
| 271 | ) |
| 272 | |
| 273 | def drill_down( |
| 274 | self, |