We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3435a2d commit 2b374e4Copy full SHA for 2b374e4
src/nested_pandas/nestedframe/core.py
@@ -269,7 +269,7 @@ def _is_key_list(self, item):
269
270
def _getitem_list(self, item):
271
non_nested_keys = [k for k in item if k in self.columns]
272
- result = super().__getitem__(non_nested_keys)
+ result = super().__getitem__(non_nested_keys).copy()
273
components = [self._parse_hierarchical_components(k) for k in item]
274
nested_components = [c for c in components if self._is_known_hierarchical_column(c)]
275
nested_columns = defaultdict(list)
0 commit comments