Skip to content

Commit

Permalink
add dataframe property (#110)
Browse files Browse the repository at this point in the history
Co-authored-by: MarcoGorelli <>
  • Loading branch information
MarcoGorelli authored Mar 28, 2023
1 parent 25bf725 commit d10a096
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/API_specification/dataframe_api/dataframe_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@


class DataFrame:
@property
def dataframe(self) -> object:
"""
Return underlying (not-necessarily-Standard-compliant) DataFrame.
If a library only implements the Standard, then this can return `self`.
"""
...

def groupby(self, keys: Sequence[str], /) -> GroupBy:
"""
Group the DataFrame by the given columns.
Expand Down

0 comments on commit d10a096

Please sign in to comment.