diff --git a/README.md b/README.md index 82543b9db4a09..264c2ad40ad31 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,9 @@ **pandas** is a Python package that provides fast, flexible, and expressive data structures designed to make working with "relational" or "labeled" data both easy and intuitive. It aims to be the fundamental high-level building block for -doing practical, **real world** data analysis in Python. Additionally, it has -the broader goal of becoming **the most powerful and flexible open source data -analysis / manipulation tool available in any language**. It is already well on +doing practical, **real-world** data analysis in Python. Additionally, it has +the broader goal of becoming **the most powerful and flexible open-source data +analysis/manipulation tool available in any language**. It is already well on its way towards this goal. ## Table of Contents @@ -64,7 +64,7 @@ Here are just a few of the things that pandas does well: data sets - [**Hierarchical**][mi] labeling of axes (possible to have multiple labels per tick) - - Robust IO tools for loading data from [**flat files**][flat-files] + - Robust I/O tools for loading data from [**flat files**][flat-files] (CSV and delimited), [**Excel files**][excel], [**databases**][db], and saving/loading data from the ultrafast [**HDF5 format**][hdfstore] - [**Time series**][timeseries]-specific functionality: date range @@ -138,7 +138,7 @@ or for installing in [development mode](https://pip.pypa.io/en/latest/cli/pip_in ```sh -python -m pip install -ve . --no-build-isolation -Ceditable-verbose=true +python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true ``` See the full instructions for [installing from source](https://pandas.pydata.org/docs/dev/development/contributing_environment.html). @@ -155,7 +155,7 @@ has been under active development since then. ## Getting Help -For usage questions, the best place to go to is [StackOverflow](https://stackoverflow.com/questions/tagged/pandas). +For usage questions, the best place to go to is [Stack Overflow](https://stackoverflow.com/questions/tagged/pandas). Further, general questions and discussions can also take place on the [pydata mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydata). ## Discussion and Development diff --git a/pandas/_config/config.py b/pandas/_config/config.py index d42d90d44f82f..50dac1925c936 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -693,8 +693,8 @@ def _get_registered_option(key: str): def _translate_key(key: str) -> str: """ - if key id deprecated and a replacement key defined, will return the - replacement key, otherwise returns `key` as - is + if `key` is deprecated and a replacement key defined, will return the + replacement key, otherwise returns `key` as-is """ d = _get_deprecated_option(key) if d: diff --git a/pandas/_version.py b/pandas/_version.py index c5e3c16d3f773..54d5bb8c2dc91 100644 --- a/pandas/_version.py +++ b/pandas/_version.py @@ -581,7 +581,7 @@ def render_git_describe(pieces): def render_git_describe_long(pieces): """TAG-DISTANCE-gHEX[-dirty]. - Like 'git describe --tags --dirty --always -long'. + Like 'git describe --tags --dirty --always --long'. The distance/hash is unconditional. Exceptions: diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index 0331c26c805b6..47cf0452bc32c 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -88,7 +88,7 @@ def _add_delegate_accessors( cls Class to add the methods/properties to. delegate - Class to get methods/properties and doc-strings. + Class to get methods/properties and docstrings. accessors : list of str List of accessors to add. typ : {'property', 'method'} @@ -159,7 +159,7 @@ def delegate_names( Parameters ---------- delegate : object - The class to get methods/properties & doc-strings. + The class to get methods/properties & docstrings. accessors : Sequence[str] List of accessor to add. typ : {'property', 'method'} diff --git a/pandas/core/base.py b/pandas/core/base.py index 7c00d3925685f..1d571df400e49 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -90,7 +90,7 @@ class PandasObject(DirNamesMixin): """ - Baseclass for various pandas objects. + Base class for various pandas objects. """ # results from calls to methods decorated with cache_readonly get added to _cache diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index 272acf4874dae..9169f4a794192 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -1926,7 +1926,7 @@ def _setitem_with_indexer(self, indexer, value, name: str = "iloc") -> None: labels = index.insert(len(index), key) # We are expanding the Series/DataFrame values to match - # the length of thenew index `labels`. GH#40096 ensure + # the length of the new index `labels`. GH#40096 ensure # this is valid even if the index has duplicates. taker = np.arange(len(index) + 1, dtype=np.intp) taker[-1] = -1 diff --git a/pandas/io/api.py b/pandas/io/api.py index 5900c94384384..0d9f38999f787 100644 --- a/pandas/io/api.py +++ b/pandas/io/api.py @@ -1,5 +1,5 @@ """ -Data IO api +Data I/O API """ from pandas.io.clipboards import read_clipboard diff --git a/pandas/io/common.py b/pandas/io/common.py index 1a9e6b472463d..d7aca27aa7643 100644 --- a/pandas/io/common.py +++ b/pandas/io/common.py @@ -1,4 +1,4 @@ -"""Common IO api utilities""" +"""Common I/O API utilities""" from __future__ import annotations