Skip to content

Commit 042fcff

Browse files
kianmengericmjl
authored andcommitted
[DOC] Fix typos again
Found via `codespell -S *.ipynb -L ans,nam,bage,te,mapp,zar,caf,fro,som,tha,regon,variabl` and `typos --hidden --format brief`
1 parent e1d77da commit 042fcff

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ARG USERNAME=vscode
1616
ARG USER_UID=1000
1717
ARG USER_GID=$USER_UID
1818

19-
# Copy environment-dev.yml (if found) to a temp locaition so we update the environment. Also
19+
# Copy environment-dev.yml (if found) to a temp location so we update the environment. Also
2020
# copy "noop.txt" so the COPY instruction does not fail if no environment-dev.yml exists.
2121
COPY environment-dev.yml* .devcontainer/noop.txt /tmp/conda-tmp/
2222

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ ENV/
115115
# Custom
116116
.pytest_cache
117117

118-
# Ingore docs' symbolic link to notebooks
118+
# Ignore docs' symbolic link to notebooks
119119
docs/notebooks
120120
docs/*
121121

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
## [v0.31.0] - 2025-03-07
2727

2828
- [ENH] Added support for pd.Series.select - Issue #1394 @samukweku
29-
- [ENH] Added suport for janitor.mutate - Issue #1226 @samukweku
29+
- [ENH] Added support for janitor.mutate - Issue #1226 @samukweku
3030
- [ENH] Added support for janitor.summarise - Issue #1225 @samukweku
3131
- [ENH] Added support for janitor.alias - Issue #1449 @samukweku
3232

janitor/functions/_numba.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def _eq_join_tuple_compare(
219219
ends: np.ndarray,
220220
tupled: tuple,
221221
):
222-
"""Comparision when tupled is present in an equi join"""
222+
"""Comparison when tupled is present in an equi join"""
223223

224224
for _tuple in literal_unroll(tupled):
225225
left_arr = _tuple[0]

janitor/functions/complete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def _computations_complete(
328328
# to cater for scenarios where the column_name
329329
# is not a string
330330
# assign only works with keys that are strings
331-
# Also, the output wil be floats (for numeric types),
331+
# Also, the output will be floats (for numeric types),
332332
# even if all the columns could be integers
333333
# user can always convert to int if required
334334
for column_name, value in fill_value.items():

janitor/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def xlsx_cells(
428428
{null,{"00000000","rgb",0.0},{"00000000","rgb",0.0}}
429429
]
430430
431-
Specific cell attributes can be acessed via Polars' struct:
431+
Specific cell attributes can be accessed via Polars' struct:
432432
433433
>>> out.struct.field("fgColor").struct.field("rgb")
434434
shape: (8,)

nbconvert_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@
175175
# ------------------------------------------------------------------------------
176176

177177
## Exports to a Latex template. Inherit from this class if your template is
178-
# LaTeX based and you need custom tranformers/filters. Inherit from it if you
179-
# are writing your own HTML template and need custom tranformers/filters. If
180-
# you don't need custom tranformers/filters, just change the 'template_file'
178+
# LaTeX based and you need custom transformers/filters. Inherit from it if you
179+
# are writing your own HTML template and need custom transformers/filters. If
180+
# you don't need custom transformers/filters, just change the 'template_file'
181181
# config option. Place your template in the special "/latex" subfolder of the
182182
# "../templates" folder.
183183

tests/functions/test_select_columns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def test_callable(numbers):
372372
"""
373373
Check that error is raised if `columns_to_select` is a
374374
callable, and at lease one Series has a wrong data type
375-
that makes the callable unapplicable.
375+
that makes the callable inapplicable.
376376
"""
377377
with pytest.raises(
378378
ValueError,

tests/timeseries/test_flag_jumps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def test_flag_jumps_default_args(timeseries_dataframe):
411411

412412

413413
@pytest.mark.timeseries
414-
def test_flag_jumps_all_args_specifed_as_non_dict(timeseries_dataframe):
414+
def test_flag_jumps_all_args_specified_as_non_dict(timeseries_dataframe):
415415
"""Test provided kwargs (not of type dict) behave as expected."""
416416
# Setup
417417
df = timeseries_dataframe

0 commit comments

Comments
 (0)