From 5f23075fe6cd86fb0592e8e7ddbd5c0338343537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 4 Feb 2022 18:19:28 +0100 Subject: [PATCH] Pandas --- README.md | 2 +- index.html | 4 ++-- parse.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 34e688f..19daa0a 100644 --- a/README.md +++ b/README.md @@ -3264,7 +3264,7 @@ c 6 7 = .rank/diff/cumsum/ffill/interpl() # Or: .apply/agg/transform(lambda : ) = .fillna() # Or: .applymap(lambda : ) ``` -* **All operations operate on columns by default. Use `'axis=1'` parameter to process the rows instead. Transform passes DF to a function if it rases an error after receiving a Sr.** +* **All operations operate on columns by default. Use `'axis=1'` parameter to process the rows instead. Transform passes DF to a function if it raises an error after receiving a Sr.** ```python >>> df = DataFrame([[1, 2], [3, 4]], index=['a', 'b'], columns=['x', 'y']) diff --git a/index.html b/index.html index 90ad9fd..1907d86 100644 --- a/index.html +++ b/index.html @@ -1230,7 +1230,7 @@ error_msg = ''.join(traceback.format_exception( ├── NameError # Raised when a variable name is not found. ├── OSError # Errors such as “file not found” or “disk full” (see Open). │ └── FileNotFoundError # When a file or directory is requested but doesn't exist. - ├── RuntimeError # Raised by errors that don't fall in other categories. + ├── RuntimeError # Raised by errors that don't fall into other categories. │ └── RecursionError # Raised when the maximum recursion depth is exceeded. ├── StopIteration # Raised by next() when run on an empty iterator. ├── TypeError # Raised when an argument is of wrong type. @@ -2652,7 +2652,7 @@ c 6 7
    -
  • All operations operate on columns by default. Use 'axis=1' parameter to process the rows instead. Transform passes DF to a function if it rases an error after receiving a Sr.
  • +
  • All operations operate on columns by default. Use 'axis=1' parameter to process the rows instead. Transform passes DF to a function if it raises an error after receiving a Sr.
>>> df = DataFrame([[1, 2], [3, 4]], index=['a', 'b'], columns=['x', 'y'])
    x  y
diff --git a/parse.js b/parse.js
index acce349..13b06bf 100755
--- a/parse.js
+++ b/parse.js
@@ -218,7 +218,7 @@ const DIAGRAM_7_B =
   "      ├── NameError               # Raised when a variable name is not found.\n" +
   "      ├── OSError                 # Errors such as “file not found” or “disk full” (see Open).\n" +
   "      │    └── FileNotFoundError  # When a file or directory is requested but doesn't exist.\n" +
-  "      ├── RuntimeError            # Raised by errors that don't fall in other categories.\n" +
+  "      ├── RuntimeError            # Raised by errors that don't fall into other categories.\n" +
   "      │    └── RecursionError     # Raised when the maximum recursion depth is exceeded.\n" +
   "      ├── StopIteration           # Raised by next() when run on an empty iterator.\n" +
   "      ├── TypeError               # Raised when an argument is of wrong type.\n" +