From 751e1a6bafd1510214e1a64c42a80beb37b5b886 Mon Sep 17 00:00:00 2001 From: Lahiru Jayakodi <75355480+codeoxygen@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:16:52 +0530 Subject: [PATCH 1/3] update intiger_na.rst document file --- doc/source/user_guide/integer_na.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/source/user_guide/integer_na.rst b/doc/source/user_guide/integer_na.rst index 1a727cd78af09..2ef918bcf537f 100644 --- a/doc/source/user_guide/integer_na.rst +++ b/doc/source/user_guide/integer_na.rst @@ -83,6 +83,13 @@ with the dtype. In the future, we may provide an option for :class:`Series` to infer a nullable-integer dtype. + +.. note:: + + Adding an empty column with :attr:`pandas.NA` creates a column dtype of + ``"Object"`` while :attr:`pandas.NaT` creates ``"datetime64"``. To + specify the dtypes, use :meth:`pandas.Series` with the appropriate dtype. + Operations ---------- From 7d323616305bbd35747ac40e7a04f05dfbaf3d0b Mon Sep 17 00:00:00 2001 From: Lahiru Jayakodi <75355480+codeoxygen@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:31:24 +0530 Subject: [PATCH 2/3] Update the documentaion for nullable intiger types --- doc/source/user_guide/integer_na.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/integer_na.rst b/doc/source/user_guide/integer_na.rst index 2ef918bcf537f..a65563c3c61fe 100644 --- a/doc/source/user_guide/integer_na.rst +++ b/doc/source/user_guide/integer_na.rst @@ -87,8 +87,8 @@ with the dtype. .. note:: Adding an empty column with :attr:`pandas.NA` creates a column dtype of - ``"Object"`` while :attr:`pandas.NaT` creates ``"datetime64"``. To - specify the dtypes, use :meth:`pandas.Series` with the appropriate dtype. + ``"Object"`` while :attr:`pandas.NaT` creates ``"datetime64"``. To specify + the dtypes, use :meth:`pandas.Series` with the appropriate dtype. Operations From b8f4d9c54df4393db07580fe943b072626fe060b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 04:13:57 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- doc/source/user_guide/integer_na.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/user_guide/integer_na.rst b/doc/source/user_guide/integer_na.rst index a65563c3c61fe..c29b9ff47e59a 100644 --- a/doc/source/user_guide/integer_na.rst +++ b/doc/source/user_guide/integer_na.rst @@ -83,11 +83,11 @@ with the dtype. In the future, we may provide an option for :class:`Series` to infer a nullable-integer dtype. - + .. note:: - Adding an empty column with :attr:`pandas.NA` creates a column dtype of - ``"Object"`` while :attr:`pandas.NaT` creates ``"datetime64"``. To specify + Adding an empty column with :attr:`pandas.NA` creates a column dtype of + ``"Object"`` while :attr:`pandas.NaT` creates ``"datetime64"``. To specify the dtypes, use :meth:`pandas.Series` with the appropriate dtype.