From 3226be0d38291d5871461f55072490007988105a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 7 Sep 2023 21:34:06 +0200 Subject: [PATCH] Pandas --- README.md | 2 +- index.html | 2 +- parse.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bebfeb4..52bddf4 100644 --- a/README.md +++ b/README.md @@ -3291,7 +3291,7 @@ c 6 7 | l.combine_first(r) | x y z | | | Adds missing rows and | | | a 1 2 . | | | columns. Also updates | | | b 3 4 5 | | | items that contain NaN. | -| | c . 6 7 | | | R must be a DataFrame. | +| | c . 6 7 | | | Argument r must be a DF. | +------------------------+---------------+------------+------------+--------------------------+ ``` diff --git a/index.html b/index.html index 3dbbc23..76ecdd1 100644 --- a/index.html +++ b/index.html @@ -2688,7 +2688,7 @@ c 6 7 ┃ l.combine_first(r) │ x y z │ │ │ Adds missing rows and ┃ ┃ │ a 1 2 . │ │ │ columns. Also updates ┃ ┃ │ b 3 4 5 │ │ │ items that contain NaN. ┃ -┃ │ c . 6 7 │ │ │ R must be a DataFrame. ┃ +┃ │ c . 6 7 │ │ │ Argument r must be a DF. ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━┛

DataFrame — Aggregate, Transform, Map:

<Sr> = <DF>.sum/max/mean/idxmax/all()          # Or: <DF>.apply/agg(lambda <Sr>: <el>)
diff --git a/parse.js b/parse.js
index 1004e3c..ee63083 100755
--- a/parse.js
+++ b/parse.js
@@ -590,7 +590,7 @@ const DIAGRAM_15_B =
   "┃ l.combine_first(r)     │    x   y   z  │            │            │ Adds missing rows and    ┃\n" +
   "┃                        │ a  1   2   .  │            │            │ columns. Also updates    ┃\n" +
   "┃                        │ b  3   4   5  │            │            │ items that contain NaN.  ┃\n" +
-  "┃                        │ c  .   6   7  │            │            │ R must be a DataFrame.   ┃\n" +
+  "┃                        │ c  .   6   7  │            │            │ Argument r must be a DF. ┃\n" +
   "┗━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n";
 
 const DIAGRAM_16_A =