Skip to content

Commit

Permalink
Wrong docstring format
Browse files Browse the repository at this point in the history
  • Loading branch information
johalnes committed Dec 15, 2023
1 parent 9b7d6cf commit c1fc99f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions chainladder/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,11 +410,14 @@ def _interchange_dataframe(self, data):
Convert an object supporting the __dataframe__ protocol to a pandas DataFrame.
Requires pandas version > 1.5.2.
Parameters:
data: Dataframe object supporting the __dataframe__ protocol.
Returns:
pd.DataFrame: A pandas DataFrame.
Parameters
----------
data :
Dataframe object supporting the __dataframe__ protocol.
Returns
-------
out: pd.DataFrame
A pandas DataFrame.
"""
# Check if pandas version is greater than 1.5.2
if version.parse(pd.__version__) >= version.parse("1.5.2"):
Expand Down

0 comments on commit c1fc99f

Please sign in to comment.