diff --git a/docs/api-reference/dependencies.md b/docs/api-reference/dependencies.md index 72541875f7..c6062c6954 100644 --- a/docs/api-reference/dependencies.md +++ b/docs/api-reference/dependencies.md @@ -4,11 +4,24 @@ handler: python options: members: + - get_cudf + - get_modin - get_pandas - get_polars - - get_modin - - get_cudf - get_pyarrow + - is_cudf_dataframe + - is_cudf_series + - is_dask_dataframe + - is_modin_dataframe + - is_modin_series + - is_numpy_array + - is_pandas_dataframe - is_pandas_dataframe + - is_pandas_series + - is_polars_dataframe + - is_polars_lazyframe + - is_polars_series + - is_pyarrow_chunked_array + - is_pyarrow_table show_source: false show_bases: false diff --git a/narwhals/dependencies.py b/narwhals/dependencies.py index e2d67f03ca..7ed2f021dd 100644 --- a/narwhals/dependencies.py +++ b/narwhals/dependencies.py @@ -142,4 +142,16 @@ def is_numpy_array(arr: Any) -> TypeGuard[np.ndarray]: "get_pyarrow", "get_numpy", "is_pandas_dataframe", + "is_pandas_series", + "is_polars_dataframe", + "is_polars_lazyframe", + "is_polars_series", + "is_modin_dataframe", + "is_modin_series", + "is_cudf_dataframe", + "is_cudf_series", + "is_pyarrow_table", + "is_pyarrow_chunked_array", + "is_numpy_array", + "is_dask_dataframe", ]