From 8bf03454adaf96f0b337b14b821f3cd9c1ed3a0a Mon Sep 17 00:00:00 2001 From: ianlv Date: Wed, 2 Jul 2025 16:01:41 +0800 Subject: [PATCH] chore: remove redundant words in comment Signed-off-by: ianlv --- doc/source/user_guide/io.rst | 2 +- pandas/compat/pickle_compat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 25f1e11e6b603..34c469bfc535b 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -5432,7 +5432,7 @@ A simple example loading all data from an Iceberg table ``my_table`` defined in df = pd.read_iceberg("my_table", catalog_name="my_catalog") Catalogs must be defined in the ``.pyiceberg.yaml`` file, usually in the home directory. -It is possible to to change properties of the catalog definition with the +It is possible to change properties of the catalog definition with the ``catalog_properties`` parameter: .. code-block:: python diff --git a/pandas/compat/pickle_compat.py b/pandas/compat/pickle_compat.py index beaaa3f8ed3cc..beb4a69232b27 100644 --- a/pandas/compat/pickle_compat.py +++ b/pandas/compat/pickle_compat.py @@ -36,7 +36,7 @@ "pandas._libs.internals", "_unpickle_block", ), - # Avoid Cython's warning "contradiction to to Python 'class private name' rules" + # Avoid Cython's warning "contradiction to Python 'class private name' rules" ("pandas._libs.tslibs.nattype", "__nat_unpickle"): ( "pandas._libs.tslibs.nattype", "_nat_unpickle",