From 724b2edf0b26a7e6be0adc0f40b917e28932b383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 28 Nov 2024 14:54:28 +0100 Subject: [PATCH] Pandas --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5515732..28f50eb 100644 --- a/README.md +++ b/README.md @@ -3268,7 +3268,7 @@ b 3 4 ``` ```python - = .head/tail/sample() # Returns first, last, or random n elements. + = .head/tail/sample() # Returns first, last, or random n rows. = .describe() # Describes columns. Also shape, info(), corr(). = .query('') # Filters rows with e.g. 'col_1 == val_1 and …'. ``` diff --git a/index.html b/index.html index a1d6d8c..e332aa2 100644 --- a/index.html +++ b/index.html @@ -2658,7 +2658,7 @@ b 3 4 <DF> = <DF>.sort_index(ascending=True) # Sorts rows by row keys. Use `axis=1` for cols. <DF> = <DF>.sort_values(col_key/s) # Sorts rows by passed column/s. Also `axis=1`. -
<DF>   = <DF>.head/tail/sample(<int>)          # Returns first, last, or random n elements.
+
<DF>   = <DF>.head/tail/sample(<int>)          # Returns first, last, or random n rows.
 <DF>   = <DF>.describe()                       # Describes columns. Also shape, info(), corr().
 <DF>   = <DF>.query('<query>')                 # Filters rows with e.g. 'col_1 == val_1 and …'.