Skip to content

Commit 9567152

Browse files
Typos
1 parent c239fc9 commit 9567152

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/core/apply.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def map(
122122
executor may already know which is the decorator to use, this
123123
is useful as for a single executor the user can specify for
124124
example ``numba.jit`` or ``numba.njit(nogil=True)``, and this
125-
decorator parameter will contain the exact decortor from the
125+
decorator parameter will contain the exact decorator from the
126126
executor the user wants to use.
127127
skip_na : bool
128128
Whether the function should be called for missing values or not.
@@ -165,7 +165,7 @@ def apply(
165165
executor may already know which is the decorator to use, this
166166
is useful as for a single executor the user can specify for
167167
example ``numba.jit`` or ``numba.njit(nogil=True)``, and this
168-
decorator parameter will contain the exact decortor from the
168+
decorator parameter will contain the exact decorator from the
169169
executor the user wants to use.
170170
axis : {0 or 'index', 1 or 'columns'}
171171
0 or 'index' should execute the function passing each column as

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10447,7 +10447,7 @@ def apply(
1044710447
type during the execution).
1044810448
1044910449
>>> import bodo
10450-
>>> df.apply(lambda x: x.A + x.B, axis=1, engine=bodo.jit(parallel=True))
10450+
>>> df.apply(lambda x: x.A + x.B, axis=1, engine=bodo.jit)
1045110451
1045210452
Note that JIT compilation is only recommended for functions that take a
1045310453
significant amount of time to run. Fast functions are unlikely to run faster

0 commit comments

Comments
 (0)