Skip to content

GH31391 - Fixed typos and fixed inexistant path in a SAS class comment #31395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion asv_bench/benchmarks/io/sas.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class SAS:
param_names = ["format"]

def setup(self, format):
# Read files that are located in 'pandas/io/tests/sas/data'
# Read files that are located in 'pandas/tests/io/sas/data'
files = {"sas7bdat": "test1.sas7bdat", "xport": "paxraw_d_short.xpt"}
file = files[format]
paths = [
Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.13.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ These were announced changes in 0.12 or prior that are taking effect as of 0.13.
- Remove deprecated ``read_clipboard/to_clipboard/ExcelFile/ExcelWriter`` from ``pandas.io.parsers`` (:issue:`3717`)
These are available as functions in the main pandas namespace (e.g. ``pd.read_clipboard``)
- default for ``tupleize_cols`` is now ``False`` for both ``to_csv`` and ``read_csv``. Fair warning in 0.12 (:issue:`3604`)
- default for `display.max_seq_len` is now 100 rather then `None`. This activates
- default for `display.max_seq_len` is now 100 rather than `None`. This activates
truncated display ("...") of long sequences in various places. (:issue:`3391`)

Deprecations
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/config_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module is imported, which may or may not be a problem.

If you need to make sure options are available even before a certain
module is imported, register them here rather then in the module.
module is imported, register them here rather than in the module.

"""
import pandas._config.config as cf
Expand Down
6 changes: 3 additions & 3 deletions pandas/io/formats/printing.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def justify(texts: Iterable[str], max_len: int, mode: str = "right") -> List[str
#
# pprinting utility functions for generating Unicode text or
# bytes(3.x)/str(2.x) representations of objects.
# Try to use these as much as possible rather then rolling your own.
# Try to use these as much as possible rather than rolling your own.
#
# When to use
# -----------
Expand All @@ -98,7 +98,7 @@ def _pprint_seq(
) -> str:
"""
internal. pprinter for iterables. you should probably use pprint_thing()
rather then calling this directly.
rather than calling this directly.

bounds length of printed sequence, depending on options
"""
Expand Down Expand Up @@ -133,7 +133,7 @@ def _pprint_dict(
) -> str:
"""
internal. pprinter for iterables. you should probably use pprint_thing()
rather then calling this directly.
rather than calling this directly.
"""
fmt = "{{{things}}}"
pairs = []
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/groupby/test_grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def test_groupby_grouper_f_sanity_checked(self):
# if it fails on the elements, map tries it on the entire index as
# a sequence. That can yield invalid results that cause trouble
# down the line.
# the surprise comes from using key[0:6] rather then str(key)[0:6]
# the surprise comes from using key[0:6] rather than str(key)[0:6]
# when the elements are Timestamp.
# the result is Index[0:6], very confusing.

Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/io/formats/test_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def test_repr_set(self):
assert printing.pprint_thing({1}) == "{1}"

def test_repr_is_valid_construction_code(self):
# for the case of Index, where the repr is traditional rather then
# for the case of Index, where the repr is traditional rather than
# stylized
idx = Index(["a", "b"])
res = eval("pd." + repr(idx))
Expand Down