Skip to content

Commit 57a4fb9

Browse files
DOC: Add 'See Also'and return value description for pandas.api.interchang.from_dataframe (#59403)
DOCS: Add 'See Also'and return value description for pandas.api.interchange.from_dataframe
1 parent 2244402 commit 57a4fb9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
134134
-i "pandas.Timestamp.value GL08" \
135135
-i "pandas.Timestamp.year GL08" \
136136
-i "pandas.api.extensions.ExtensionArray.interpolate PR01,SA01" \
137-
-i "pandas.api.interchange.from_dataframe RT03,SA01" \
138137
-i "pandas.api.types.is_bool PR01,SA01" \
139138
-i "pandas.api.types.is_categorical_dtype SA01" \
140139
-i "pandas.api.types.is_complex PR01,SA01" \

pandas/core/interchange/from_dataframe.py

+7
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ def from_dataframe(df, allow_copy: bool = True) -> pd.DataFrame:
6060
Returns
6161
-------
6262
pd.DataFrame
63+
A pandas DataFrame built from the provided interchange
64+
protocol object.
65+
66+
See Also
67+
--------
68+
pd.DataFrame : DataFrame class which can be created from various input data
69+
formats, including objects that support the interchange protocol.
6370
6471
Examples
6572
--------

0 commit comments

Comments
 (0)