title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
updated_at
stringlengths
20
20
WEB: Fix link to PDEP 0001
diff --git a/web/pandas/about/roadmap.md b/web/pandas/about/roadmap.md index 6e922d01518ba..64e730fc42eed 100644 --- a/web/pandas/about/roadmap.md +++ b/web/pandas/about/roadmap.md @@ -17,7 +17,7 @@ tracked on our [issue tracker](https://github.com/pandas-dev/pandas/issues). The roadmap is defined as a set of major ...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/47991
2022-08-06T13:45:44Z
2022-08-06T15:36:55Z
2022-08-06T15:36:55Z
2022-08-06T18:49:55Z
DOC: Add tuple description to allowed inputs for iloc #47799
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index fa1ad7ce3c874..4e242e33627a4 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -155,6 +155,8 @@ def iloc(self) -> _iLocIndexer: DataFrame) and that returns valid output for indexing (one of the above). This is...
- [x] closes #47799 - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/47989
2022-08-06T08:34:49Z
2022-08-08T21:35:57Z
2022-08-08T21:35:57Z
2022-08-08T21:36:04Z
BUG: iloc.setitem raising NotImplementedError for all null slice with one column df
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index bdf811f6a8f6a..8a2a4ea511ec7 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -889,6 +889,8 @@ Indexing - Bug in setting a NA value (``None`` or ``np.nan``) into a :class:`Series` with int-based :class...
- [x] closes #45469 (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/47987
2022-08-05T22:16:27Z
2022-08-08T21:46:14Z
2022-08-08T21:46:14Z
2022-08-08T21:48:56Z
BUG: to_string using wrong na_rep for ea dtype in multiindex
diff --git a/doc/source/whatsnew/v1.5.0.rst b/doc/source/whatsnew/v1.5.0.rst index bdf811f6a8f6a..ecec18c8b8242 100644 --- a/doc/source/whatsnew/v1.5.0.rst +++ b/doc/source/whatsnew/v1.5.0.rst @@ -958,6 +958,7 @@ I/O - Bug in :func:`read_sas` with certain types of compressed SAS7BDAT files (:issue:`35545`) - Bug in :...
- [ ] closes #xxxx (Replace xxxx with the Github issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/47986
2022-08-05T20:59:24Z
2022-08-08T21:49:56Z
2022-08-08T21:49:56Z
2022-08-08T21:56:55Z
Backport PR #47581 on branch 1.4.x (BUG: DataFrame.loc not aligning rhs df for single block case)
diff --git a/doc/source/whatsnew/v1.4.4.rst b/doc/source/whatsnew/v1.4.4.rst index dce8fb60ecdd6..b4224b5b210e0 100644 --- a/doc/source/whatsnew/v1.4.4.rst +++ b/doc/source/whatsnew/v1.4.4.rst @@ -16,6 +16,7 @@ Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :func:`concat` materializing :class:`Index` durin...
Backport PR #47581 cc @simonjayhawkins WIll put up a pr for the whatsnew later
https://api.github.com/repos/pandas-dev/pandas/pulls/47984
2022-08-05T19:14:33Z
2022-08-08T13:04:04Z
2022-08-08T13:04:03Z
2022-08-08T21:29:16Z
DOC: update the pandas.Series/DataFrame.interpolate docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index fd372ce2fd78e..9bdf34113ccf0 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6081,89 +6081,191 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None, _shared_docs['interpolate'] = """ Please not...
- [x] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] The html version looks good: `python doc/make.py --si...
https://api.github.com/repos/pandas-dev/pandas/pulls/20270
2018-03-11T02:12:06Z
2018-08-19T00:39:00Z
2018-08-19T00:39:00Z
2020-03-31T05:51:35Z
DOC: update NDFrame.squeeze docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 397726181d2fb..7a5c3989089cc 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -699,18 +699,108 @@ def pop(self, item): def squeeze(self, axis=None): """ - Squeeze length 1 dimensions. + Squeeze 1 dimensio...
## Series.squeeze and DataFrame.squeeze are inherited from NDFrame - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream/master -u -- "*.py" | flak...
https://api.github.com/repos/pandas-dev/pandas/pulls/20269
2018-03-11T02:03:28Z
2018-07-07T17:37:15Z
2018-07-07T17:37:15Z
2018-07-07T17:37:15Z
DOC: add documentation to core.window.corr
diff --git a/pandas/core/window.py b/pandas/core/window.py index f089e402261db..1029b96c58475 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -1391,19 +1391,113 @@ def _get_cov(X, Y): _get_cov, pairwise=bool(pairwise)) _shared_docs['corr'] = dedent(""" - %...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [ ] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [ ] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20268
2018-03-11T01:48:18Z
2018-07-08T14:35:15Z
2018-07-08T14:35:15Z
2018-07-08T14:35:22Z
DOC: Improve the docstring of pandas.DataFrame.append()
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 66f51cd0dae45..fa720bb38213f 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -145,8 +145,11 @@ Parameters ----------%s -right : DataFrame +right : DataFrame, Series or dict + Object to merge with. how : {'left', 'right', 'outer', 'in...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20267
2018-03-11T01:14:47Z
2018-07-08T16:28:27Z
2018-07-08T16:28:27Z
2018-07-08T16:28:35Z
DOC: update the pandas.core.window.x.mean docstring
diff --git a/pandas/core/window.py b/pandas/core/window.py index c41b07759d555..9e7ed5721cab5 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -323,7 +323,48 @@ def aggregate(self, arg, *args, **kwargs): %(name)s sum""") _shared_docs['mean'] = dedent(""" - %(name)s mean""") + Calculat...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20265
2018-03-11T00:06:00Z
2018-03-17T12:30:10Z
2018-03-17T12:30:09Z
2018-03-17T12:30:15Z
DOC" update the Pandas core window rolling count docstring"
diff --git a/pandas/core/window.py b/pandas/core/window.py index c41b07759d555..14a0b851d0470 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -780,8 +780,43 @@ def calc(x): class _Rolling_and_Expanding(_Rolling): - _shared_docs['count'] = """%(name)s count of number of non-NaN - observation...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [ ] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [ ] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20264
2018-03-11T00:05:46Z
2018-03-19T21:13:23Z
2018-03-19T21:13:23Z
2018-03-19T21:13:32Z
DOC: update the window.Rolling.min docstring
diff --git a/pandas/core/window.py b/pandas/core/window.py index 358ef98e1c072..84bbfb3c8ba4a 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -910,7 +910,38 @@ def max(self, *args, **kwargs): return self._apply('roll_max', 'max', **kwargs) _shared_docs['min'] = dedent(""" - %(name)s...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [ ] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [ ] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20263
2018-03-11T00:01:50Z
2018-03-17T11:49:31Z
2018-03-17T11:49:31Z
2018-03-17T11:49:44Z
DOC: update pandas.DataFrame.head docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 397726181d2fb..f25d2d5164a84 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3607,8 +3607,8 @@ def head(self, n=5): """ Return the first `n` rows. - This function returns the first `n` rows for the object ...
-Update wording to be accurate and match pandas.DataFrame.tail docstring Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X ] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <you...
https://api.github.com/repos/pandas-dev/pandas/pulls/20262
2018-03-10T23:38:46Z
2018-03-11T11:50:19Z
2018-03-11T11:50:19Z
2018-03-12T13:10:58Z
DOC: Update pandas.Series.copy docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d5bdeb7fe1a4d..a65c2cd8df350 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4506,22 +4506,108 @@ def astype(self, dtype, copy=True, errors='raise', **kwargs): def copy(self, deep=True): """ - Make a copy of t...
Closes https://github.com/pandas-dev/pandas/issues/19505 - Add extended summary - Add examples Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/va...
https://api.github.com/repos/pandas-dev/pandas/pulls/20261
2018-03-10T23:06:04Z
2018-03-23T08:52:05Z
2018-03-23T08:52:05Z
2018-09-29T02:40:56Z
DOC: Improve the docstring of pandas.core.window.Rolling.median
diff --git a/pandas/core/window.py b/pandas/core/window.py index c41b07759d555..538b09929b744 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -850,7 +850,38 @@ def mean(self, *args, **kwargs): return self._apply('roll_mean', 'mean', **kwargs) _shared_docs['median'] = dedent(""" - %(...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20260
2018-03-10T23:02:57Z
2018-03-13T12:58:39Z
2018-03-13T12:58:39Z
2018-03-13T13:04:25Z
DOC: update the docstring of pandas.DataFrame.from_dict
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..d3a170a6260a3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -883,27 +883,66 @@ def dot(self, other): @classmethod def from_dict(cls, data, orient='columns', dtype=None, columns=None): """ - Construc...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20259
2018-03-10T22:52:11Z
2018-03-11T14:40:02Z
2018-03-11T14:40:02Z
2018-03-11T14:40:07Z
DOC: update the docstring of pandas.Series.clip
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 397726181d2fb..3144cfc2fb4da 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -5605,53 +5605,79 @@ def clip(self, lower=None, upper=None, axis=None, inplace=False, """ Trim values at input threshold(s). + As...
Continuation of https://github.com/pandas-dev/pandas/pull/20178 Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function...
https://api.github.com/repos/pandas-dev/pandas/pulls/20256
2018-03-10T22:23:57Z
2018-03-15T14:36:23Z
2018-03-15T14:36:23Z
2018-03-15T14:36:23Z
DOC: Improve the docstring of DataFrame.nlargest
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..b2ef75ab7fdce 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3835,34 +3835,93 @@ def sortlevel(self, level=0, axis=0, ascending=True, inplace=False, inplace=inplace, sort_remaining=sort_remain...
Co-authored-by: Igor C. A. de Lima <igorcadelima@gmail.com> Signed-off-by: Carlos Eduardo Moreira dos Santos <cems@cemshost.com.br> Signed-off-by: Igor C. A. de Lima <igorcadelima@gmail.com> Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: up...
https://api.github.com/repos/pandas-dev/pandas/pulls/20255
2018-03-10T22:17:08Z
2018-03-17T10:29:42Z
2018-03-17T10:29:42Z
2018-03-17T10:30:21Z
DOC: Improve the docstring of DataFrame.transpose()
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 57aba8078f3c5..8ff2b6c85eeed 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2289,7 +2289,100 @@ def memory_usage(self, index=True, deep=False): return result def transpose(self, *args, **kwargs): - """Transpose index...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20254
2018-03-10T22:16:03Z
2018-03-23T08:36:09Z
2018-03-23T08:36:09Z
2018-03-23T08:36:37Z
DOC: update the `to_pickle` & `read_pickle` docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9f2112729a503..3cd1906b3a557 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1901,14 +1901,15 @@ def to_sql(self, name, con, schema=None, if_exists='fail', index=True, def to_pickle(self, path, compression='infer', ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20253
2018-03-10T22:13:34Z
2018-03-14T08:32:06Z
2018-03-14T08:32:06Z
2018-03-14T09:13:27Z
DOC: update the DataFrame.pivot docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..bc224eba02b9e 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4341,44 +4341,55 @@ def last_valid_index(self): def pivot(self, index=None, columns=None, values=None): """ + Return reshaped DataFrame orga...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20250
2018-03-10T21:44:18Z
2018-03-12T20:47:50Z
2018-03-12T20:47:50Z
2018-03-12T20:48:00Z
DOC: update the Index.isin docstring
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 366ebce9f0a7a..446b1b02706e3 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3396,8 +3396,11 @@ def map(self, mapper, na_action=None): def isin(self, values, level=None): """ + Return a boo...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20249
2018-03-10T21:42:26Z
2018-03-18T21:40:04Z
2018-03-18T21:40:04Z
2018-03-19T13:46:09Z
DOC: update the pandas.Series.sort_index docstring
diff --git a/pandas/core/series.py b/pandas/core/series.py index 7b9b8a7a75008..7800b02a3fbe2 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2016,10 +2016,118 @@ def _try_kind_sort(arr): else: return result.__finalize__(self) - @Appender(generic._shared_docs['sort_index'] ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20248
2018-03-10T21:39:45Z
2018-03-12T17:00:09Z
2018-03-12T17:00:09Z
2018-03-12T17:00:16Z
DOC: update Series.sort_values docstring
diff --git a/pandas/core/series.py b/pandas/core/series.py index 069f0372ab6e1..1e2ae673d3c4c 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -76,7 +76,7 @@ __all__ = ['Series'] _shared_doc_kwargs = dict( - axes='index', klass='Series', axes_single_arg="{0, 'index'}", + axes='index', klass='...
Co-authored-by: @marielen Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style che...
https://api.github.com/repos/pandas-dev/pandas/pulls/20247
2018-03-10T21:36:58Z
2018-03-12T14:59:55Z
2018-03-12T14:59:55Z
2018-03-12T15:00:07Z
DOC: update `pandas/core/ops.py` docstring template to accept examples
diff --git a/pandas/core/ops.py b/pandas/core/ops.py index 83879cdaaa63c..6c6a54993b669 100644 --- a/pandas/core/ops.py +++ b/pandas/core/ops.py @@ -343,50 +343,93 @@ def _get_op_name(op, special): # ----------------------------------------------------------------------------- # Docstring Generation and Templates +...
Checklist for the pandas documentation sprint - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The PEP8 style check passes: `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] It has been proofread on language by another sprint participant The Chicago assigned docstrings u...
https://api.github.com/repos/pandas-dev/pandas/pulls/20246
2018-03-10T21:33:41Z
2018-03-11T13:51:25Z
2018-03-11T13:51:25Z
2018-03-15T08:53:45Z
DOC: update the DataFrame.cov docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..d8269b605eef9 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -5501,7 +5501,22 @@ def corr(self, method='pearson', min_periods=1): def cov(self, min_periods=None): """ - Compute pairwise covariance of co...
Update the docstring with some examples from elsewhere in the pandas documentation. Some of the examples use randomly generated time series because we need to get covariance between long series. Used a random seed to ensure that the results are the same each time. Checklist for the pandas documentation sprint...
https://api.github.com/repos/pandas-dev/pandas/pulls/20245
2018-03-10T21:31:01Z
2018-03-11T11:50:40Z
2018-03-11T11:50:40Z
2018-03-11T15:29:30Z
API: Return Index from DatetimeIndex/PeriodIndex.strftime
diff --git a/doc/source/whatsnew/v0.23.0.txt b/doc/source/whatsnew/v0.23.0.txt index e838afdbbd083..31735063dc687 100644 --- a/doc/source/whatsnew/v0.23.0.txt +++ b/doc/source/whatsnew/v0.23.0.txt @@ -713,6 +713,7 @@ Other API Changes - ``Categorical.fillna`` now validates its ``value`` and ``method`` keyword argument...
- [x] closes #20127 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I will update the docstring after #20103 is merged.
https://api.github.com/repos/pandas-dev/pandas/pulls/20240
2018-03-10T21:12:11Z
2018-03-16T22:01:39Z
2018-03-16T22:01:39Z
2018-03-17T23:02:15Z
Docstring pandas.series.diff
diff --git a/pandas/core/series.py b/pandas/core/series.py index 7b9b8a7a75008..a3e4c3bb30346 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1607,16 +1607,63 @@ def cov(self, other, min_periods=None): def diff(self, periods=1): """ - 1st discrete difference of object + ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20238
2018-03-10T21:11:32Z
2018-03-11T14:17:06Z
2018-03-11T14:17:06Z
2018-03-11T14:17:13Z
DOC: update the DataFrame.combine and DataFrame.combine_first docstrings
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 06e3b982742b2..97592ab75845a 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4894,19 +4894,26 @@ def _compare(a, b): def combine(self, other, func, fill_value=None, overwrite=True): """ - Add two DataFrame objects and...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstre...
https://api.github.com/repos/pandas-dev/pandas/pulls/20237
2018-03-10T21:04:46Z
2018-07-07T22:17:30Z
2018-07-07T22:17:30Z
2018-07-07T22:17:30Z
DOC: update the pandas.DataFrame.plot.density docstring
diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 520c6cecce6d7..f587cb91ab932 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -1380,6 +1380,50 @@ def orientation(self): return 'vertical' +_kde_docstring = """ + Generate Kernel Density Estimate plot u...
This docstring is quite similar to the one of #20041. Unfortunately, I was not able to compute a kernel estimate of a two-dimensional random variable. Hence, the example is more of an analysis of some independent data series. Checklist for the pandas documentation sprint (ignore this if you are doing an unrela...
https://api.github.com/repos/pandas-dev/pandas/pulls/20236
2018-03-10T21:03:42Z
2018-03-11T21:37:38Z
2018-03-11T21:37:38Z
2018-03-11T21:37:53Z
DOC: update Rolling.std docstring
diff --git a/pandas/core/window.py b/pandas/core/window.py index c41b07759d555..b5d386eff2423 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -857,13 +857,62 @@ def median(self, **kwargs): return self._apply('roll_median_c', 'median', **kwargs) _shared_docs['std'] = dedent(""" - %(n...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20235
2018-03-10T20:51:23Z
2018-03-12T16:04:20Z
2018-03-12T16:04:20Z
2018-03-12T16:11:11Z
DOC: update the Rolling.var docstring
diff --git a/pandas/core/window.py b/pandas/core/window.py index c41b07759d555..40b94d2fe2507 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -879,13 +879,62 @@ def f(arg, *args, **kwargs): ddof=ddof, **kwargs) _shared_docs['var'] = dedent(""" - %(name)s variance ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20233
2018-03-10T20:30:28Z
2018-03-12T17:07:52Z
2018-03-12T17:07:52Z
2018-03-12T17:08:03Z
DOC: update the pd.Index.argsort docstring
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index fd1d3690e8a89..5edb031c7442c 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -2316,16 +2316,38 @@ def shift(self, periods=1, freq=None): def argsort(self, *args, **kwargs): """ - Returns the...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20232
2018-03-10T20:28:49Z
2018-03-12T17:17:34Z
2018-03-12T17:17:34Z
2018-03-12T17:17:51Z
DOC: update the Index.get_values docstring
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index fd1d3690e8a89..42a863a64ad04 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -681,7 +681,47 @@ def _values(self): return self.values def get_values(self): - """ return the underlying data as...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20231
2018-03-10T20:21:29Z
2018-03-11T17:56:01Z
2018-03-11T17:56:01Z
2018-03-11T18:13:06Z
DOC: update the DataFrame.loc[] docstring
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index ec2874b3bae95..e78b2bcf28d25 100755 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -1413,7 +1413,8 @@ def _get_slice_axis(self, slice_obj, axis=None): class _LocIndexer(_LocationIndexer): - """Purely label-location based indexe...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20229
2018-03-10T20:08:39Z
2018-03-14T13:00:47Z
2018-03-14T13:00:47Z
2018-03-14T13:30:57Z
DOC:Improve the docstring of DataFrame.iloc()
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index a69313a2d4a43..80396a9149d5a 100755 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -1924,7 +1924,8 @@ def _getitem_axis(self, key, axis=None): class _iLocIndexer(_LocationIndexer): - """Purely integer-location based indexing fo...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X ] PR title is "DOC: update the <your-function-or-method> docstring" - [ X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [ X] The PEP8 style check passes: `git diff upstr...
https://api.github.com/repos/pandas-dev/pandas/pulls/20228
2018-03-10T20:02:25Z
2018-07-07T21:22:35Z
2018-07-07T21:22:35Z
2018-07-07T21:22:35Z
Docstring pandas.data frame.diff
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..bf926e1bca147 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4722,20 +4722,90 @@ def melt(self, id_vars=None, value_vars=None, var_name=None, def diff(self, periods=1, axis=0): """ - 1st discrete diffe...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20227
2018-03-10T20:00:48Z
2018-03-11T12:36:22Z
2018-03-11T12:36:22Z
2018-03-11T14:16:24Z
DOC: Update pandas.DataFrame.tail docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d5bdeb7fe1a4d..a6b7a3d6cd02a 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3660,7 +3660,11 @@ def head(self, n=5): def tail(self, n=5): """ - Return the last n rows. + Return the last `n` rows. + + ...
-Add extended summary Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check p...
https://api.github.com/repos/pandas-dev/pandas/pulls/20225
2018-03-10T19:46:11Z
2018-03-11T11:50:55Z
2018-03-11T11:50:55Z
2018-03-12T13:10:54Z
DOC: update the IntervalIndex.from_array docstring
diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py index ccf2e5e3c4486..54800d0d76d2e 100644 --- a/pandas/core/indexes/interval.py +++ b/pandas/core/indexes/interval.py @@ -457,7 +457,7 @@ def from_breaks(cls, breaks, closed='right', name=None, copy=False, def from_arrays(cls, left, rig...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20224
2018-03-10T19:42:44Z
2018-03-13T20:09:54Z
2018-03-13T20:09:54Z
2018-03-13T20:10:16Z
DOC: add docstring for Index.get_duplicates
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index fd1d3690e8a89..e47854d94542e 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -1710,6 +1710,59 @@ def _invalid_indexer(self, form, key): kind=type(key))) def get_duplicates(self)...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20223
2018-03-10T19:40:47Z
2018-03-11T14:33:55Z
2018-03-11T14:33:55Z
2018-03-13T08:34:24Z
DOC: Improve the docstring of DataFrame.describe()
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index c1964025eff26..a75e3960cda16 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8348,7 +8348,7 @@ def abs(self): def describe(self, percentiles=None, include=None, exclude=None): """ - Generates descriptive stati...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20222
2018-03-10T19:23:53Z
2018-07-08T12:59:44Z
2018-07-08T12:59:44Z
2018-07-08T12:59:51Z
DOC: update the DataFrame.count docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..33156bcd381d3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -5592,22 +5592,78 @@ def corrwith(self, other, axis=0, drop=False): def count(self, axis=0, level=None, numeric_only=False): """ - Return Ser...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20221
2018-03-10T19:17:07Z
2018-03-12T14:24:51Z
2018-03-12T14:24:51Z
2018-03-13T20:00:49Z
DOC: update the Series.view docstring
diff --git a/pandas/core/series.py b/pandas/core/series.py index 7b9b8a7a75008..1fce2097f745b 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -547,6 +547,71 @@ def __len__(self): return len(self._data) def view(self, dtype=None): + """ + Create a new view of the Series. +...
- [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] The html version looks good: `python doc/make.py --si...
https://api.github.com/repos/pandas-dev/pandas/pulls/20220
2018-03-10T19:16:21Z
2018-03-11T14:41:13Z
2018-03-11T14:41:13Z
2018-03-11T16:56:14Z
DOC: update the DataFrame.iat[] docstring
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index ec2874b3bae95..560e7638b5510 100755 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -1920,11 +1920,49 @@ def _convert_key(self, key, is_setter=False): class _iAtIndexer(_ScalarAccessIndexer): - """Fast integer location scalar ac...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20219
2018-03-10T19:13:50Z
2018-03-11T12:43:10Z
2018-03-11T12:43:10Z
2018-03-11T15:29:29Z
DOC: update the pandas.DataFrame.any docstring
diff --git a/.gitignore b/.gitignore index 00dac6e336c37..4bbbcad0c97ad 100644 --- a/.gitignore +++ b/.gitignore @@ -109,3 +109,4 @@ doc/tmp.sv doc/source/styled.xlsx doc/source/templates/ env/ +doc/source/savefig/ diff --git a/pandas/core/generic.py b/pandas/core/generic.py index fc8aaa23d2f79..23654613104ec 100644...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [+] PR title is "DOC: update the <your-function-or-method> docstring" - [+] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [+] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20217
2018-03-10T19:03:47Z
2018-03-12T16:52:31Z
2018-03-12T16:52:31Z
2018-03-12T16:52:32Z
DOC: update the pandas.DataFrame.all docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index d9bc4804b061b..fc8aaa23d2f79 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7584,11 +7584,10 @@ def _add_numeric_operations(cls): cls.any = _make_logical_function( cls, 'any', name, name2, axis_descr, ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20216
2018-03-10T19:02:32Z
2018-03-11T14:42:36Z
2018-03-11T14:42:36Z
2018-03-11T14:42:39Z
DOC: update the Index.get_level_values docstring
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index d7dda62ff2ac1..904aa3d4bcb03 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -3090,26 +3090,41 @@ def set_value(self, arr, key, value): def _get_level_values(self, level): """ - Return an In...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20210
2018-03-10T18:09:28Z
2018-07-08T15:07:18Z
2018-07-08T15:07:18Z
2018-07-08T15:07:18Z
DOC: update the DataFrame.eval() docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index ff3f377e07f98..c62ad1cbee5d7 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2490,20 +2490,23 @@ def query(self, expr, inplace=False, **kwargs): return new_data def eval(self, expr, inplace=False, **kwargs): - """...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20209
2018-03-10T18:03:37Z
2018-03-13T14:27:33Z
2018-03-13T14:27:33Z
2018-03-13T14:27:33Z
DOC: update the pandas.errors.DtypeWarning docstring
diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py index af4e83f506257..16654f0227182 100644 --- a/pandas/errors/__init__.py +++ b/pandas/errors/__init__.py @@ -38,9 +38,60 @@ class ParserError(ValueError): class DtypeWarning(Warning): """ - Warning that is raised for a dtype incompatibility....
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20208
2018-03-10T17:46:35Z
2018-03-13T14:55:29Z
2018-03-13T14:55:29Z
2018-03-13T16:24:48Z
DOC: update the DataFrame.head() docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9f2112729a503..435915ef4d174 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3605,7 +3605,11 @@ def f(x): def head(self, n=5): """ - Return the first n rows. + Return the first `n` rows. + + This...
- Improved summary details - Added description of last in see-also Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-func...
https://api.github.com/repos/pandas-dev/pandas/pulls/20206
2018-03-10T17:24:18Z
2018-03-10T19:48:13Z
2018-03-10T19:48:13Z
2018-03-11T15:29:29Z
DOC: update the pandas.Series.dropna and pandas.DataFrame.dropna docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..102a788c78e56 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3501,71 +3501,101 @@ def notnull(self): def dropna(self, axis=0, how='any', thresh=None, subset=None, inplace=False): """ - Re...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20204
2018-03-10T17:13:21Z
2018-03-16T21:01:44Z
2018-03-16T21:01:44Z
2018-03-18T18:09:58Z
DOC: update the pandas.DataFrame.apply docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..249703bedcc21 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4818,54 +4818,68 @@ def aggregate(self, func, axis=0, *args, **kwargs): def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None, ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20202
2018-03-10T17:05:41Z
2018-03-12T16:47:53Z
2018-03-12T16:47:52Z
2018-03-13T13:39:46Z
DOC: update the DataFrame.update() docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 79265e35ef6e6..8af56e5e1070d 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4321,21 +4321,44 @@ def combiner(x, y, needs_i8_conversion=False): def update(self, other, join='left', overwrite=True, filter_func=None, rais...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20201
2018-03-10T17:03:52Z
2018-03-13T21:41:40Z
2018-03-13T21:41:40Z
2018-03-14T08:04:36Z
DOC: update the pandas.Series.str.rpartition() docstring (Delhi)
diff --git a/pandas/core/strings.py b/pandas/core/strings.py index 669b19fc35430..ecc8c266b136d 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -2340,47 +2340,82 @@ def rsplit(self, pat=None, n=-1, expand=False): return self._wrap_result(result, expand=expand) _shared_docs['str_parti...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20199
2018-03-10T16:49:59Z
2018-07-08T17:24:15Z
2018-07-08T17:24:15Z
2018-07-08T17:24:58Z
Docstring changes to pandas.Series.dt.to_pydatetime
diff --git a/pandas/core/indexes/accessors.py b/pandas/core/indexes/accessors.py index c5b300848876e..c27754d57d82b 100644 --- a/pandas/core/indexes/accessors.py +++ b/pandas/core/indexes/accessors.py @@ -126,6 +126,49 @@ class DatetimeProperties(Properties): """ def to_pydatetime(self): + """ + ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20198
2018-03-10T16:42:38Z
2018-03-13T10:52:48Z
2018-03-13T10:52:48Z
2018-03-13T19:22:31Z
DOC: update the docstring of pandas.DataFrame.info
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..22e972850bbbf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1813,33 +1813,132 @@ def to_html(self, buf=None, columns=None, col_space=None, header=True, def info(self, verbose=None, buf=None, max_cols=None, memory_usage...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20197
2018-03-10T16:38:08Z
2018-03-17T10:05:53Z
2018-03-17T10:05:53Z
2018-03-17T10:05:54Z
DOC: update the api.types.is_number docstring
diff --git a/pandas/core/dtypes/inference.py b/pandas/core/dtypes/inference.py index 6fed25a0012f2..a02f0c5b2a4d6 100644 --- a/pandas/core/dtypes/inference.py +++ b/pandas/core/dtypes/inference.py @@ -28,20 +28,37 @@ def is_number(obj): """ Check if the object is a number. + Returns True when the object ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20196
2018-03-10T16:27:00Z
2018-03-17T12:24:05Z
2018-03-17T12:24:05Z
2018-03-17T12:24:11Z
DOC: Update the pandas.DataFrame.abs docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index a893b2ba1a189..b9d97eec9a99c 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7115,12 +7115,70 @@ def _tz_localize(ax, tz, ambiguous): # Numeric Methods def abs(self): """ - Return an object with absolute va...
Improve description and returns, and added notes and examples. Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-...
https://api.github.com/repos/pandas-dev/pandas/pulls/20194
2018-03-10T16:09:27Z
2018-03-13T21:00:00Z
2018-03-13T21:00:00Z
2018-03-13T21:00:00Z
DOC: update the pandas.DataFrame.to_sparse docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1c8b1ccd0fe8d..64edb8c3848d0 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1599,16 +1599,57 @@ def from_csv(cls, path, header=0, sep=',', index_col=0, parse_dates=True, def to_sparse(self, fill_value=None, kind='block'): "...
Updates the docstring for the to_sparse function. Here is the output of the validation script: ``` ################################################################################ #################### Docstring (pandas.DataFrame.to_sparse) #################### ##################################################...
https://api.github.com/repos/pandas-dev/pandas/pulls/20193
2018-03-10T16:05:40Z
2018-07-10T13:06:02Z
2018-07-10T13:06:02Z
2018-07-10T13:06:32Z
DOC: update the Index.shift docstring
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 52283e4e223b4..3c357788c9d6b 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -2256,18 +2256,19 @@ def sortlevel(self, level=None, ascending=True, sort_remaining=None): return self.sort_values(return_index...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20192
2018-03-10T16:04:36Z
2018-03-10T19:15:48Z
2018-03-10T19:15:48Z
2018-03-10T19:15:51Z
DOC: update DataFrame.to_records
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..7b112c5be6e8d 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1209,20 +1209,68 @@ def from_records(cls, data, index=None, exclude=None, columns=None, def to_records(self, index=True, convert_datetime64=True): ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20191
2018-03-10T16:03:50Z
2018-03-11T11:58:10Z
2018-03-11T11:58:10Z
2018-03-11T15:29:29Z
DOC: Edit doc contribution section. …
diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst index 61efc6a707d31..a0c6f1332f339 100644 --- a/doc/source/contributing.rst +++ b/doc/source/contributing.rst @@ -262,8 +262,9 @@ after updating. Contributing to the documentation ================================= -If you're not the developer ty...
References #19412 - Removes negative tone about non-developer in 'Contributing to docs' section
https://api.github.com/repos/pandas-dev/pandas/pulls/20190
2018-03-10T15:57:46Z
2018-03-10T16:28:55Z
2018-03-10T16:28:54Z
2018-03-10T16:29:33Z
DOC: Update the pandas.Series.dt.round/floor/ceil docstrings
diff --git a/pandas/core/indexes/datetimelike.py b/pandas/core/indexes/datetimelike.py index e673bfe411cb4..1c41488973978 100644 --- a/pandas/core/indexes/datetimelike.py +++ b/pandas/core/indexes/datetimelike.py @@ -82,21 +82,84 @@ class TimelikeOps(object): _round_doc = ( """ - %s the index to ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20187
2018-03-10T15:53:32Z
2018-03-11T20:48:09Z
2018-03-11T20:48:09Z
2018-03-17T11:10:15Z
DOC: update the DataFrame.to_hdf() docstirng
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index a893b2ba1a189..efe0b22f3b046 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1786,40 +1786,50 @@ def to_json(self, path_or_buf=None, orient=None, date_format=None, index=index) def to_hdf(self, pa...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20186
2018-03-10T15:53:24Z
2018-03-22T09:23:27Z
2018-03-22T09:23:27Z
2018-03-22T09:23:40Z
DOC: update the to_excel docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 38f334762fa88..fa4572dd7b979 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1836,65 +1836,98 @@ def _repr_latex_(self): # I/O Methods _shared_docs['to_excel'] = """ - Write %(klass)s to an excel sheet - %(versiona...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [ x] PR title is "DOC: update the <your-function-or-method> docstring" - [x ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x ] The PEP8 style check passes: `git diff upstr...
https://api.github.com/repos/pandas-dev/pandas/pulls/20185
2018-03-10T15:52:45Z
2018-07-24T16:02:34Z
2018-07-24T16:02:34Z
2018-07-25T04:49:38Z
DOC: update the pandas.Series.dt.is_month_end docstring
diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index ac7db1dbc4b8f..e8bc9a2519333 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -1773,7 +1773,41 @@ def freq(self, value): is_month_end = _field_accessor( 'is_month_end', 'i...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20181
2018-03-10T15:41:57Z
2018-03-17T11:59:09Z
2018-03-17T11:59:09Z
2018-03-17T11:59:27Z
DOC: update the pandas.Index.notna docstring
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 52283e4e223b4..cbf0f7a70ff2f 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -2040,18 +2040,47 @@ def isna(self): def notna(self): """ - Inverse of isna + Detect existing (non-missing...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20180
2018-03-10T15:38:21Z
2018-03-12T22:13:07Z
2018-03-12T22:13:07Z
2018-03-14T10:55:20Z
DOC: Improve the docstring of Series.take
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index a893b2ba1a189..e026757a52205 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2521,28 +2521,43 @@ def _take(self, indices, axis=0, convert=True, is_copy=True): ---------- indices : array-like An array o...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20179
2018-03-10T15:32:03Z
2018-03-14T20:17:23Z
2018-03-14T20:17:23Z
2018-03-14T21:27:37Z
DOC: Improved the docstring of pandas.Series.dt.components
diff --git a/pandas/core/indexes/accessors.py b/pandas/core/indexes/accessors.py index 08d4de972bc06..d7b4ea63cd48c 100644 --- a/pandas/core/indexes/accessors.py +++ b/pandas/core/indexes/accessors.py @@ -237,14 +237,30 @@ def to_pytimedelta(self): @property def components(self): """ - Return ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [ ] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20177
2018-03-10T15:17:48Z
2018-07-08T15:26:56Z
2018-07-08T15:26:56Z
2018-07-08T15:27:09Z
DOC: update the pandas.Series.tail docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index a893b2ba1a189..c355dcb2c4bfe 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3669,12 +3669,12 @@ def tail(self, n=5): Returns ------- - obj_tail : type of caller - The last n rows of the caller ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20176
2018-03-10T15:16:32Z
2018-03-10T16:12:42Z
2018-03-10T16:12:42Z
2018-03-10T16:12:42Z
DOC: update the Series.isin docstring
diff --git a/pandas/core/series.py b/pandas/core/series.py index 069f0372ab6e1..72f375c155e99 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2745,20 +2745,21 @@ def _take(self, indices, axis=0, convert=True, is_copy=False): def isin(self, values): """ - Return a boolean :class...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20175
2018-03-10T15:16:23Z
2018-03-10T16:25:21Z
2018-03-10T16:25:21Z
2018-03-10T16:30:08Z
DOC: update the Seriex.idxmax and Series.idxmin docstring
diff --git a/pandas/core/series.py b/pandas/core/series.py index 069f0372ab6e1..3c045760ba56b 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1326,22 +1326,31 @@ def duplicated(self, keep='first'): def idxmin(self, axis=None, skipna=True, *args, **kwargs): """ - Index *label* o...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20174
2018-03-10T15:16:16Z
2018-03-12T17:30:49Z
2018-03-12T17:30:49Z
2018-03-12T17:45:14Z
DOC: update the pandas.DataFrame.to_string docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1c8b1ccd0fe8d..18874d290c170 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1966,7 +1966,8 @@ def to_parquet(self, fname, engine='auto', compression='snappy', @Substitution(header='Write out the column names. If a list of strings ' ...
Had to correct parameters descriptions in common docstrings (format.py) as well as in frame.py. Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/valid...
https://api.github.com/repos/pandas-dev/pandas/pulls/20173
2018-03-10T15:14:12Z
2018-07-10T00:06:41Z
2018-07-10T00:06:41Z
2018-07-10T00:06:44Z
DOC: update the str_cat() docstring (Delhi)
diff --git a/pandas/core/strings.py b/pandas/core/strings.py index 6b427ed1da834..d6ea5d0e4bf0d 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -51,11 +51,18 @@ def str_cat(arr, others=None, sep=None, na_rep=None): """ Concatenate strings in the Series/Index with given separator. + If...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20171
2018-03-10T15:07:17Z
2018-03-14T14:37:29Z
2018-03-14T14:37:29Z
2018-03-14T14:37:48Z
DOC: update the pandas.DataFrame.plot.area docstring
diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index e81b162645b94..85b2738e572b6 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -3337,19 +3337,87 @@ def kde(self, bw_method=None, ind=None, **kwds): def area(self, x=None, y=None, **kwds): """ - Area plot...
- [x] PR title is "DOC: update the pandas.DataFrame.plot.area docstring" - [x] The validation script passes: `scripts/validate_docstrings.py pandas.DataFrame.plot.area` - [x] The PEP8 style check passes: `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] The html version looks good: `python doc/make.py --...
https://api.github.com/repos/pandas-dev/pandas/pulls/20170
2018-03-10T15:04:41Z
2018-08-10T17:07:44Z
2018-08-10T17:07:44Z
2018-08-13T09:58:34Z
DOC: Improved the docstring of pandas.plotting.radviz
diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py index 45594e9c6ea95..03a06169d46bc 100644 --- a/pandas/plotting/_misc.py +++ b/pandas/plotting/_misc.py @@ -147,25 +147,66 @@ def _get_marker_compat(marker): def radviz(frame, class_column, ax=None, color=None, colormap=None, **kwds): - """RadViz ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20169
2018-03-10T15:00:04Z
2018-03-11T11:56:49Z
2018-03-11T11:56:49Z
2018-03-11T15:29:29Z
DOC: Docstring pandas index all any
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 888507a529687..f4066095ebd1e 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -4290,20 +4290,86 @@ def _add_logical_methods(cls): """ add in logical methods """ _doc = """ - %(desc)s ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20168
2018-03-10T14:59:22Z
2018-03-13T20:56:10Z
2018-03-13T20:56:10Z
2018-03-13T20:56:12Z
DOC: update the pandas.Index.is_categorical docstring
diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index e82b641db98fd..45b6b08dc41f2 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -1195,7 +1195,7 @@ def to_frame(self, index=True): -------- >>> idx = pd.Index(['Ant', 'Bear', 'Cow'], name='animal') ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [ ] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20167
2018-03-10T14:55:50Z
2018-03-12T14:32:09Z
2018-03-12T14:32:09Z
2018-03-12T14:32:12Z
Docstring bootstrap plot
diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py index 45594e9c6ea95..507bdb755e1d7 100644 --- a/pandas/plotting/_misc.py +++ b/pandas/plotting/_misc.py @@ -323,20 +323,51 @@ def f(t): def bootstrap_plot(series, fig=None, size=50, samples=500, **kwds): - """Bootstrap plot. + """ + Bootstra...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20166
2018-03-10T14:53:21Z
2018-03-11T17:57:38Z
2018-03-11T17:57:38Z
2018-03-17T11:11:26Z
DOC: update the pandas.Series.where docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 48366a286ac05..8da678e0adec0 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7778,9 +7778,7 @@ def _where(self, cond, other=np.nan, inplace=False, axis=None, level=None, return self._constructor(new_data).__finalize__(s...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20165
2018-03-10T14:53:04Z
2018-07-08T16:03:38Z
2018-07-08T16:03:38Z
2018-07-08T16:03:44Z
DOC: update the pandas.Series.set_axis docstring
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index a893b2ba1a189..fae9f013d9eba 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -487,24 +487,37 @@ def _expand_axes(self, key): return new_axes - _shared_docs['set_axis'] = """Assign desired index to given axis + def ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [x] PR title is "DOC: update the <your-function-or-method> docstring" - [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [x] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20164
2018-03-10T14:49:55Z
2018-03-16T11:40:26Z
2018-03-16T11:40:26Z
2018-03-17T10:35:10Z
DOC: update the DataFrame.plot.line docstring
diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index c22741479a837..2c2521ad50ce0 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -2772,19 +2772,64 @@ def __call__(self, x=None, y=None, kind='line', ax=None, def line(self, x=None, y=None, **kwds): """ - L...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20163
2018-03-10T14:49:48Z
2018-03-12T12:02:40Z
2018-03-12T12:02:40Z
2018-03-12T12:02:44Z
DOC: update the docstring of pandas.DataFrame.to_dict
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index a66d00fff9714..f75855934d194 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -924,21 +924,25 @@ def from_dict(cls, data, orient='columns', dtype=None, columns=None): return cls(data, index=index, columns=columns, dtype=dtype) ...
Checklist for the pandas documentation sprint (ignore this if you are doing an unrelated PR): - [X] PR title is "DOC: update the <your-function-or-method> docstring" - [X] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>` - [X] The PEP8 style check passes: `git diff upstream...
https://api.github.com/repos/pandas-dev/pandas/pulls/20162
2018-03-10T14:43:57Z
2018-03-13T19:22:09Z
2018-03-13T19:22:09Z
2018-03-13T19:22:09Z
Backport PR #54625 on branch 2.1.x (BUG: Fix error in printing timezone series)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 7dd2fb570c695..7b0c120c3bbdb 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -667,6 +667,7 @@ Datetimelike - Bug in constructing a :class:`Timestamp` from a string representing a time without a date i...
Backport PR #54625: BUG: Fix error in printing timezone series
https://api.github.com/repos/pandas-dev/pandas/pulls/54698
2023-08-22T23:55:34Z
2023-08-23T02:42:30Z
2023-08-23T02:42:30Z
2023-08-23T02:42:30Z
Backport PR #54694 on branch 2.1.x (MAINT: Remove `np.in1d` function calls)
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 06da747a450ee..0a9c1aad46f89 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -518,9 +518,9 @@ def isin(comps: ListLike, values: ListLike) -> npt.NDArray[np.bool_]: return isin(np.asarray(comps_array), np.asarray(...
Backport PR #54694: MAINT: Remove `np.in1d` function calls
https://api.github.com/repos/pandas-dev/pandas/pulls/54697
2023-08-22T22:51:35Z
2023-08-23T00:15:40Z
2023-08-23T00:15:40Z
2023-08-23T00:15:40Z
DOC: fix an example which raises an Error in v0.13.0.rst
diff --git a/doc/source/whatsnew/v0.13.0.rst b/doc/source/whatsnew/v0.13.0.rst index c60a821968c0c..540e1d23814ff 100644 --- a/doc/source/whatsnew/v0.13.0.rst +++ b/doc/source/whatsnew/v0.13.0.rst @@ -537,7 +537,6 @@ Enhancements is frequency conversion. See :ref:`the docs<timedeltas.timedeltas_convert>` for the doc...
Fix an example in doc/source/whatsnew/v0.13.0.rst, which raises an Error (see https://pandas.pydata.org/docs/dev/whatsnew/v0.13.0.html#enhancements)
https://api.github.com/repos/pandas-dev/pandas/pulls/54696
2023-08-22T22:29:15Z
2023-08-23T15:43:58Z
2023-08-23T15:43:58Z
2023-08-23T15:44:05Z
MAINT: Remove `np.in1d` function calls
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 06da747a450ee..0a9c1aad46f89 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -518,9 +518,9 @@ def isin(comps: ListLike, values: ListLike) -> npt.NDArray[np.bool_]: return isin(np.asarray(comps_array), np.asarray(...
Hi! This PR changes `np.in1d` calls to `np.isin` as `np.in1d` is being made private in https://github.com/numpy/numpy/pull/24445. I wasn't sure if arrays passed to it are surely 1d, therefore I called `.ravel()` to fully reproduce `in1d` behavior. If any of these lines actually operate on 1d arrays, then `isin` and...
https://api.github.com/repos/pandas-dev/pandas/pulls/54694
2023-08-22T20:14:05Z
2023-08-22T22:50:27Z
2023-08-22T22:50:27Z
2023-08-23T07:06:42Z
Backport PR #54566 on branch 2.1.x (ENH: support Index.any/all with float, timedelta64 dtypes)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..d5c8a4974345c 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -265,6 +265,7 @@ Other enhancements - Many read/to_* functions, such as :meth:`DataFrame.to_pickle` and :func:`read_csv`, s...
Backport PR #54566: ENH: support Index.any/all with float, timedelta64 dtypes
https://api.github.com/repos/pandas-dev/pandas/pulls/54693
2023-08-22T19:08:48Z
2023-08-22T21:18:15Z
2023-08-22T21:18:15Z
2023-08-22T21:18:16Z
Backport PR #54670 on branch 2.1.x (BUG: drop_duplicates raising for boolean arrow dtype with missing values)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..bff026d27dbce 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -626,6 +626,7 @@ Performance improvements - Performance improvement in :meth:`DataFrame.transpose` when transposing a DataF...
Backport PR #54670: BUG: drop_duplicates raising for boolean arrow dtype with missing values
https://api.github.com/repos/pandas-dev/pandas/pulls/54692
2023-08-22T18:48:31Z
2023-08-22T20:41:59Z
2023-08-22T20:41:59Z
2023-08-22T20:41:59Z
Backport PR #54685 on branch 2.1.x (ENH: support integer bitwise ops in ArrowExtensionArray)
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..9341237acfaa1 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -268,6 +268,7 @@ Other enhancements - :meth:`Series.cummax`, :meth:`Series.cummin` and :meth:`Series.cumprod` are now suppo...
Backport PR #54685: ENH: support integer bitwise ops in ArrowExtensionArray
https://api.github.com/repos/pandas-dev/pandas/pulls/54691
2023-08-22T18:23:01Z
2023-08-22T20:41:48Z
2023-08-22T20:41:48Z
2023-08-22T20:41:48Z
BUG: inaccurate Index._can_hold_na
diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index 3263dd73fe4dc..9c2e85c4df564 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -764,7 +764,7 @@ def _cmp_method(self, other, op): if self.closed != other.categories.closed: ...
- [x] closes #45720 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/54690
2023-08-22T16:04:38Z
2023-08-22T19:04:36Z
2023-08-22T19:04:36Z
2023-08-22T19:21:11Z
Backport PR #54510 on branch 2.1.x (Speed up StringDtype arrow implementation for merge)
diff --git a/pandas/core/reshape/merge.py b/pandas/core/reshape/merge.py index 6987a0ac7bf6b..c2cb9d643ca87 100644 --- a/pandas/core/reshape/merge.py +++ b/pandas/core/reshape/merge.py @@ -90,6 +90,7 @@ ExtensionArray, ) from pandas.core.arrays._mixins import NDArrayBackedExtensionArray +from pandas.core.arrays....
Backport PR #54510: Speed up StringDtype arrow implementation for merge
https://api.github.com/repos/pandas-dev/pandas/pulls/54689
2023-08-22T15:05:52Z
2023-08-22T18:11:28Z
2023-08-22T18:11:27Z
2023-08-22T18:11:28Z
Backport PR #54678 on branch 2.1.x (COMPAT: Workaround invalid PyArrow duration conversion)
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index 3c65e6b4879e2..43320cf68cbec 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -952,6 +952,9 @@ def convert_fill_value(value, pa_type, dtype): return value if is...
Backport PR #54678: COMPAT: Workaround invalid PyArrow duration conversion
https://api.github.com/repos/pandas-dev/pandas/pulls/54688
2023-08-22T13:37:34Z
2023-08-22T18:11:14Z
2023-08-22T18:11:14Z
2023-08-22T18:11:14Z
BUG: Fix astype str issue 54654
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 9eb5bbc8f07d5..3abe96e5241f1 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -326,6 +326,7 @@ Numeric Conversion ^^^^^^^^^^ +- Bug in :func:`astype` when called with ``str`` on unpickled array - th...
- [x] closes #54654 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x]...
https://api.github.com/repos/pandas-dev/pandas/pulls/54687
2023-08-22T11:15:16Z
2023-10-29T17:22:56Z
2023-10-29T17:22:56Z
2023-10-29T17:23:05Z
ENH: support integer bitwise ops in ArrowExtensionArray
diff --git a/doc/source/whatsnew/v2.1.0.rst b/doc/source/whatsnew/v2.1.0.rst index 43a64a79e691b..9341237acfaa1 100644 --- a/doc/source/whatsnew/v2.1.0.rst +++ b/doc/source/whatsnew/v2.1.0.rst @@ -268,6 +268,7 @@ Other enhancements - :meth:`Series.cummax`, :meth:`Series.cummin` and :meth:`Series.cumprod` are now suppo...
- [x] closes #54495 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x]...
https://api.github.com/repos/pandas-dev/pandas/pulls/54685
2023-08-22T10:34:01Z
2023-08-22T18:22:53Z
2023-08-22T18:22:53Z
2023-09-06T00:54:08Z
DOC: fix an example which raised a KeyError in v0.11.0.rst
diff --git a/doc/source/whatsnew/v0.11.0.rst b/doc/source/whatsnew/v0.11.0.rst index aa83e7933a444..f05cbc7f07d7d 100644 --- a/doc/source/whatsnew/v0.11.0.rst +++ b/doc/source/whatsnew/v0.11.0.rst @@ -367,15 +367,27 @@ Enhancements - You can now select with a string from a DataFrame with a datelike index, in a sim...
Fix an example in doc/source/whatsnew/v0.11.0.rst, which raises a KeyError (see https://pandas.pydata.org/docs/whatsnew/v0.11.0.html#enhancements)
https://api.github.com/repos/pandas-dev/pandas/pulls/54683
2023-08-22T08:46:01Z
2023-08-22T12:39:51Z
2023-08-22T12:39:51Z
2023-08-22T12:42:18Z
DOC: add url variable for link attribution in HTML section of io.rts
diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 93294d3cbdcfe..fb3e1ba32228c 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -2448,7 +2448,7 @@ Read a URL with no options: .. code-block:: ipython - In [320]: "https://www.fdic.gov/resources/resolution...
The url variable was not created. I fixed.
https://api.github.com/repos/pandas-dev/pandas/pulls/54680
2023-08-22T01:10:06Z
2023-08-22T18:34:58Z
2023-08-22T18:34:57Z
2023-08-22T19:09:40Z
Incorrect reading of CSV containing large integers Issue#52505
diff --git a/doc/source/whatsnew/v2.2.0.rst b/doc/source/whatsnew/v2.2.0.rst index 6fdffb4d78341..138be2457d718 100644 --- a/doc/source/whatsnew/v2.2.0.rst +++ b/doc/source/whatsnew/v2.2.0.rst @@ -139,7 +139,7 @@ Timezones Numeric ^^^^^^^ -- +- Bug in :func:`read_csv` with ``engine="pyarrow"`` causing rounding erro...
- [ ] closes #52505 - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/54679
2023-08-21T23:20:25Z
2023-08-24T16:25:53Z
2023-08-24T16:25:53Z
2023-08-24T16:26:01Z
COMPAT: Workaround invalid PyArrow duration conversion
diff --git a/pandas/core/arrays/arrow/array.py b/pandas/core/arrays/arrow/array.py index 3c65e6b4879e2..43320cf68cbec 100644 --- a/pandas/core/arrays/arrow/array.py +++ b/pandas/core/arrays/arrow/array.py @@ -952,6 +952,9 @@ def convert_fill_value(value, pa_type, dtype): return value if is...
- [x] closes #54650 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/54678
2023-08-21T23:03:04Z
2023-08-22T13:36:22Z
2023-08-22T13:36:22Z
2023-08-22T16:39:32Z
REF: use single-test-class for datetimetz, period tests
diff --git a/pandas/tests/extension/base/accumulate.py b/pandas/tests/extension/base/accumulate.py index 4648f66112e80..776ff80cd6e17 100644 --- a/pandas/tests/extension/base/accumulate.py +++ b/pandas/tests/extension/base/accumulate.py @@ -16,7 +16,12 @@ def _supports_accumulation(self, ser: pd.Series, op_name: str) -...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/54676
2023-08-21T22:15:38Z
2023-08-22T22:47:44Z
2023-08-22T22:47:44Z
2023-08-22T23:13:03Z