From 7d4676726fcd9c15c043493ee47047d4052b59e0 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Tue, 14 Nov 2023 11:50:29 +0100 Subject: [PATCH] Nitpicks --- py-polars/polars/dataframe/frame.py | 2 +- py-polars/polars/interchange/dataframe.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py-polars/polars/dataframe/frame.py b/py-polars/polars/dataframe/frame.py index 1d5109509ffc..60e29e0aeb0b 100644 --- a/py-polars/polars/dataframe/frame.py +++ b/py-polars/polars/dataframe/frame.py @@ -1285,7 +1285,7 @@ def __dataframe__( allow_copy: bool = True, # noqa: FBT001 ) -> PolarsDataFrame: """ - Convert to a DataFrame object implementing the dataframe interchange protocol. + Convert to a dataframe object implementing the dataframe interchange protocol. Parameters ---------- diff --git a/py-polars/polars/interchange/dataframe.py b/py-polars/polars/interchange/dataframe.py index 36bc68f77d03..c68187b96a8e 100644 --- a/py-polars/polars/interchange/dataframe.py +++ b/py-polars/polars/interchange/dataframe.py @@ -22,7 +22,7 @@ class PolarsDataFrame(InterchangeDataFrame): Parameters ---------- column - The Polars DataFrame backing the dataframe interchange object. + The Polars DataFrame backing the dataframe object. allow_copy Allow data to be copied during operations on this column. If set to `False`, a RuntimeError is raised if data would be copied.