File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Fixed Regressions
18
18
19
19
- Fixed regression in :meth:`to_csv` when handling file-like object incorrectly (:issue:`21471`)
20
20
- Bug in both :meth:`DataFrame.first_valid_index` and :meth:`Series.first_valid_index` raised for a row index having duplicate values (:issue:`21441`)
21
- -
21
+ -
22
22
23
23
.. _whatsnew_0232.performance:
24
24
@@ -28,6 +28,9 @@ Performance Improvements
28
28
- Improved performance of membership checks in :class:`CategoricalIndex`
29
29
(i.e. ``x in ci``-style checks are much faster). :meth:`CategoricalIndex.contains`
30
30
is likewise much faster (:issue:`21369`, :issue:`21508`)
31
+ - Improved performance of :meth:`HDFStore.groups` (and dependent functions like
32
+ :meth:`~HDFStore.keys`. (i.e. ``x in store`` checks are much faster)
33
+ (:issue:`21372`)
31
34
- Improved performance of :meth:`MultiIndex.is_unique` (:issue:`21522`)
32
35
-
33
36
Original file line number Diff line number Diff line change @@ -1098,7 +1098,7 @@ def groups(self):
1098
1098
_tables ()
1099
1099
self ._check_if_open ()
1100
1100
return [
1101
- g for g in self ._handle .walk_nodes ()
1101
+ g for g in self ._handle .walk_groups ()
1102
1102
if (not isinstance (g , _table_mod .link .Link ) and
1103
1103
(getattr (g ._v_attrs , 'pandas_type' , None ) or
1104
1104
getattr (g , 'table' , None ) or
You can’t perform that action at this time.
0 commit comments