Skip to content

Commit 0c71fbd

Browse files
committed
add _ipython_key_completions_ method to TsdFrame
1 parent c961c66 commit 0c71fbd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pynapple/core/time_series.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,9 @@ def __getitem__(self, key, *args, **kwargs):
12381238
else:
12391239
return output
12401240

1241+
def _ipython_key_completions_(self) -> list:
1242+
return list(self.columns)
1243+
12411244
def as_dataframe(self):
12421245
"""
12431246
Convert the TsdFrame object to a pandas.DataFrame object.

0 commit comments

Comments
 (0)