From c4ae1b963d4140f636c08af404a95706e1dee9a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 18 Feb 2025 18:46:41 +0100 Subject: [PATCH] Pandas --- README.md | 2 +- index.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc4745f..4c441e2 100644 --- a/README.md +++ b/README.md @@ -3273,7 +3273,7 @@ b 3 4 ``` ```python -.plot.line/area/bar/scatter(x=col_key, …) # `y=col_key/s`. Also hist/box(by=col_key). +.plot.line/area/bar/scatter(x=col_key, …) # `y=col_key/s`. Also hist/box(column/by=col_k). plt.show() # Displays the plot. Also plt.savefig(). ``` diff --git a/index.html b/index.html index 252a61b..615f797 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,7 @@
- +
@@ -2673,7 +2673,7 @@ b 3 4 <DF> = <DF>.describe() # Describes columns. Also info(), corr(), shape. <DF> = <DF>.query('<query>') # Filters rows. For example `df.query('x > 1')`. -
<DF>.plot.line/area/bar/scatter(x=col_key, …)  # `y=col_key/s`. Also hist/box(by=col_key).
+
<DF>.plot.line/area/bar/scatter(x=col_key, …)  # `y=col_key/s`. Also hist/box(column/by=col_k).
 plt.show()                                     # Displays the plot. Also plt.savefig(<path>).
 

DataFrame — Merge, Join, Concat:

>>> df_2 = pd.DataFrame([[4, 5], [6, 7]], index=['b', 'c'], columns=['y', 'z']); df_2
@@ -2942,7 +2942,7 @@ $ deactivate                # Deactivates the active