Skip to content

Commit

Permalink
add _ipython_key_completions_ method to TsdFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
eschombu committed Jan 30, 2025
1 parent 0d81009 commit 11a2d22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pynapple/core/time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,9 @@ def __getitem__(self, key, *args, **kwargs):
else:
return output

def _ipython_key_completions_(self) -> list:
return list(self.columns)

def as_dataframe(self):
"""
Convert the TsdFrame object to a pandas.DataFrame object.
Expand Down

0 comments on commit 11a2d22

Please sign in to comment.