From 078bf17f7b8ab509c6a45ef1782b5d187cc5b155 Mon Sep 17 00:00:00 2001 From: Cardosaum Date: Sun, 9 Feb 2020 01:18:17 -0300 Subject: [PATCH 1/2] DOC: '10 minutes to pandas' - completion section now show a consistent block of suggestions. #31526 --- doc/source/getting_started/10min.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/source/getting_started/10min.rst b/doc/source/getting_started/10min.rst index 3055a22129b91..c7401b0b7fb80 100644 --- a/doc/source/getting_started/10min.rst +++ b/doc/source/getting_started/10min.rst @@ -67,20 +67,20 @@ will be completed: @verbatim In [1]: df2. # noqa: E225, E999 df2.A df2.bool - df2.abs df2.boxplot + df2.abs() df2.boxplot df2.add df2.C df2.add_prefix df2.clip - df2.add_suffix df2.clip_lower - df2.align df2.clip_upper - df2.all df2.columns + df2.add_suffix df2.columns + df2.align df2.copy + df2.all df2.count df2.any df2.combine - df2.append df2.combine_first - df2.apply df2.consolidate - df2.applymap - df2.D + df2.append df2.D + df2.apply df2.describe + df2.applymap df2.diff + df2.B df2.duplicated As you can see, the columns ``A``, ``B``, ``C``, and ``D`` are automatically -tab completed. ``E`` is there as well; the rest of the attributes have been +tab completed. ``E`` and ``F`` are there as well; the rest of the attributes have been truncated for brevity. Viewing data From 8f9266a9dac8b041193bf85156d0df1660a660b1 Mon Sep 17 00:00:00 2001 From: Matheus Cardoso <45436839+Cardosaum@users.noreply.github.com> Date: Sun, 9 Feb 2020 08:28:21 -0300 Subject: [PATCH 2/2] Removed parentesis from method "abs" thanks to @gfyoung to spot this error. --- doc/source/getting_started/10min.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting_started/10min.rst b/doc/source/getting_started/10min.rst index c7401b0b7fb80..a635b5656bd2d 100644 --- a/doc/source/getting_started/10min.rst +++ b/doc/source/getting_started/10min.rst @@ -67,7 +67,7 @@ will be completed: @verbatim In [1]: df2. # noqa: E225, E999 df2.A df2.bool - df2.abs() df2.boxplot + df2.abs df2.boxplot df2.add df2.C df2.add_prefix df2.clip df2.add_suffix df2.columns