Skip to content

Commit a160caf

Browse files
authored
DOC: Fix some typos in pandas/. (#47022)
1 parent 6aaa183 commit a160caf

File tree

13 files changed

+14
-14
lines changed

13 files changed

+14
-14
lines changed

pandas/_libs/src/ujson/lib/ultrajson.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
2929
https://github.com/client9/stringencoders
3030
Copyright (c) 2007 Nick Galbreath -- nickg [at] modp [dot] com. All rights reserved.
3131
32-
Numeric decoder derived from from TCL library
32+
Numeric decoder derived from TCL library
3333
https://www.opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
3434
* Copyright (c) 1988-1993 The Regents of the University of California.
3535
* Copyright (c) 1994 Sun Microsystems, Inc.

pandas/_libs/src/ujson/lib/ultrajsondec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
3232
Copyright (c) 2007 Nick Galbreath -- nickg [at] modp [dot] com. All rights
3333
reserved.
3434
35-
Numeric decoder derived from from TCL library
35+
Numeric decoder derived from TCL library
3636
https://www.opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
3737
* Copyright (c) 1988-1993 The Regents of the University of California.
3838
* Copyright (c) 1994 Sun Microsystems, Inc.

pandas/_libs/src/ujson/lib/ultrajsonenc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
3232
Copyright (c) 2007 Nick Galbreath -- nickg [at] modp [dot] com. All rights
3333
reserved.
3434
35-
Numeric decoder derived from from TCL library
35+
Numeric decoder derived from TCL library
3636
https://www.opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
3737
* Copyright (c) 1988-1993 The Regents of the University of California.
3838
* Copyright (c) 1994 Sun Microsystems, Inc.

pandas/_libs/src/ujson/python/JSONtoObj.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
2929
https://github.com/client9/stringencoders
3030
Copyright (c) 2007 Nick Galbreath -- nickg [at] modp [dot] com. All rights reserved.
3131
32-
Numeric decoder derived from from TCL library
32+
Numeric decoder derived from TCL library
3333
https://www.opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
3434
* Copyright (c) 1988-1993 The Regents of the University of California.
3535
* Copyright (c) 1994 Sun Microsystems, Inc.

pandas/_libs/src/ujson/python/objToJSON.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
3030
Copyright (c) 2007 Nick Galbreath -- nickg [at] modp [dot] com. All rights
3131
reserved.
3232
33-
Numeric decoder derived from from TCL library
33+
Numeric decoder derived from TCL library
3434
https://www.opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
3535
* Copyright (c) 1988-1993 The Regents of the University of California.
3636
* Copyright (c) 1994 Sun Microsystems, Inc.

pandas/_libs/src/ujson/python/ujson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
2929
https://github.com/client9/stringencoders
3030
Copyright (c) 2007 Nick Galbreath -- nickg [at] modp [dot] com. All rights reserved.
3131
32-
Numeric decoder derived from from TCL library
32+
Numeric decoder derived from TCL library
3333
https://www.opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
3434
* Copyright (c) 1988-1993 The Regents of the University of California.
3535
* Copyright (c) 1994 Sun Microsystems, Inc.

pandas/_libs/src/ujson/python/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Portions of code from MODP_ASCII - Ascii transformations (upper/lower, etc)
2929
https://github.com/client9/stringencoders
3030
Copyright (c) 2007 Nick Galbreath -- nickg [at] modp [dot] com. All rights reserved.
3131
32-
Numeric decoder derived from from TCL library
32+
Numeric decoder derived from TCL library
3333
https://www.opensource.apple.com/source/tcl/tcl-14/tcl/license.terms
3434
* Copyright (c) 1988-1993 The Regents of the University of California.
3535
* Copyright (c) 1994 Sun Microsystems, Inc.

pandas/core/array_algos/putmask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
EA-compatible analogue to to np.putmask
2+
EA-compatible analogue to np.putmask
33
"""
44
from __future__ import annotations
55

pandas/core/indexes/multi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ def _values(self) -> np.ndarray:
720720
if isinstance(vals, ABCDatetimeIndex):
721721
# TODO: this can be removed after Timestamp.freq is removed
722722
# The astype(object) below does not remove the freq from
723-
# the underlying Timestamps so we remove it here to to match
723+
# the underlying Timestamps so we remove it here to match
724724
# the behavior of self._get_level_values
725725
vals = vals.copy()
726726
vals.freq = None

pandas/core/internals/managers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ def create_block_manager_from_blocks(
18921892
# If verify_integrity=False, then caller is responsible for checking
18931893
# all(x.shape[-1] == len(axes[1]) for x in blocks)
18941894
# sum(x.shape[0] for x in blocks) == len(axes[0])
1895-
# set(x for for blk in blocks for x in blk.mgr_locs) == set(range(len(axes[0])))
1895+
# set(x for blk in blocks for x in blk.mgr_locs) == set(range(len(axes[0])))
18961896
# all(blk.ndim == 2 for blk in blocks)
18971897
# This allows us to safely pass verify_integrity=False
18981898

0 commit comments

Comments
 (0)