From 730877a7b3ce5ac73dc1eb53142d9a1d57544f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 28 Nov 2024 14:47:20 +0100 Subject: [PATCH] SQLite, Pandas --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 24c40b1..5515732 100644 --- a/README.md +++ b/README.md @@ -1918,7 +1918,7 @@ with : # Exits the block with commit() o .execute('', ) # Replaces ':'s with values. .executemany('', ) # Runs execute() multiple times. ``` -* **Passed values can be of type str, int, float, bytes, None, or bool (stored as 0 or 1).** +* **Passed values can be of type str, int, float, bytes, None, or bool (stored as 1 or 0).** ### Example **Values are not actually saved in this example because `'conn.commit()'` is omitted!** @@ -3182,7 +3182,7 @@ Name: a, dtype: int64 ``` ```python - = > # Returns a Series of bools. + = > # Returns S of bools. Pairs items by keys. = + # Items with non-matching keys get value NaN. ``` diff --git a/index.html b/index.html index 3516f53..a1d6d8c 100644 --- a/index.html +++ b/index.html @@ -1587,7 +1587,7 @@ CompletedProcess(args=['bc', Example

Values are not actually saved in this example because 'conn.commit()' is omitted!

>>> conn = sqlite3.connect('test.db')
 >>> conn.execute('CREATE TABLE person (person_id INTEGER PRIMARY KEY, name, height)')
@@ -2592,7 +2592,7 @@ Name: a, dtype: int64
 <S>  = <S>[coll_of_keys/coll_of_i]             # Or: <S>[key/i : key/i]
 <S>  = <S>[bools]                              # Or: <S>.loc/iloc[bools]
 
-
<S>  = <S> > <el/S>                            # Returns a Series of bools.
+
<S>  = <S> > <el/S>                            # Returns S of bools. Pairs items by keys.
 <S>  = <S> + <el/S>                            # Items with non-matching keys get value NaN.
 
<S> = pd.concat(<coll_of_S>)                   # Concats multiple series into one long Series.