-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fix warnings in doc build #22838
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
Changes from 21 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
bb3bca6
Fixed link to Resmpaler
TomAugspurger 54f2635
FutureWarning from groupby.
TomAugspurger 1e8e950
Purge read_table
TomAugspurger baf1ee2
Removed nested list example
TomAugspurger 3a0bac3
Fixed resample __iter__
TomAugspurger a53199e
Old whatsnew
TomAugspurger d7d51a4
Ecosystem
TomAugspurger 65d46ff
to_csv
TomAugspurger 51ebb11
to_json
TomAugspurger de799da
Handle subpackages better
TomAugspurger 3331dbf
Fixed unexpected indent
TomAugspurger 5bd85b8
Fixed "inline interpreted text..."
TomAugspurger 482565c
Fixed "malformed hyperlink target"
TomAugspurger 810a553
Fixed unexpected indentation
TomAugspurger befc9cd
newline after directive
TomAugspurger 968d533
Maybe fix na_value not included in toctree
TomAugspurger d4edeeb
Fixed no link to na_value
TomAugspurger 766a430
Fixed II ref
TomAugspurger 7de7251
Merge remote-tracking branch 'upstream/master' into doc-fixup
TomAugspurger 2947688
revert make.py changes
TomAugspurger 03b9902
Fixup failing doctest
TomAugspurger c9b1921
fixup
TomAugspurger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2061,9 +2061,10 @@ def to_json(self, path_or_buf=None, orient=None, date_format=None, | |
|
||
.. versionadded:: 0.19.0 | ||
compression : {'infer', 'gzip', 'bz2', 'zip', 'xz', None}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if we remove the default, the tailing comma is not needed |
||
default 'infer' | ||
|
||
A string representing the compression to use in the output file, | ||
only used when the first argument is a filename. | ||
only used when the first argument is a filename. By default, the | ||
compression is inferred from the filename. | ||
|
||
.. versionadded:: 0.21.0 | ||
.. versionchanged:: 0.24.0 | ||
|
@@ -9514,7 +9515,9 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None, | |
a string. | ||
|
||
.. versionchanged:: 0.24.0 | ||
Was previously named "path" for Series. | ||
|
||
Was previously named "path" for Series. | ||
|
||
sep : str, default ',' | ||
String of length 1. Field delimiter for the output file. | ||
na_rep : str, default '' | ||
|
@@ -9528,7 +9531,9 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None, | |
assumed to be aliases for the column names. | ||
|
||
.. versionchanged:: 0.24.0 | ||
Previously defaulted to False for Series. | ||
|
||
Previously defaulted to False for Series. | ||
|
||
index : bool, default True | ||
Write row names (index). | ||
index_label : str or sequence, or False, default None | ||
|
@@ -9550,7 +9555,9 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None, | |
compression). | ||
|
||
.. versionchanged:: 0.24.0 | ||
|
||
'infer' option added and set to default. | ||
|
||
quoting : optional constant from csv module | ||
Defaults to csv.QUOTE_MINIMAL. If you have set a `float_format` | ||
then floats are converted to strings and thus csv.QUOTE_NONNUMERIC | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2065,10 +2065,10 @@ def autocorr(self, lag=1): | |
Examples | ||
-------- | ||
>>> s = pd.Series([0.25, 0.5, 0.2, -0.05]) | ||
>>> s.autocorr() | ||
0.1035526330902407 | ||
>>> s.autocorr(lag=2) | ||
-0.9999999999999999 | ||
>>> s.autocorr() # doctest: +ELLIPSIS | ||
0.10355... | ||
>>> s.autocorr(lag=2) # doctest: +ELLIPSIS | ||
-0.99999... | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 on |
||
|
||
If the Pearson correlation is not well defined, then 'NaN' is returned. | ||
|
||
|
@@ -2789,6 +2789,7 @@ def nlargest(self, n=5, keep='first'): | |
keep : {'first', 'last', 'all'}, default 'first' | ||
When there are duplicate values that cannot all fit in a | ||
Series of `n` elements: | ||
|
||
- ``first`` : take the first occurrences based on the index order | ||
- ``last`` : take the last occurrences based on the index order | ||
- ``all`` : keep all occurrences. This can result in a Series of | ||
|
@@ -2884,6 +2885,7 @@ def nsmallest(self, n=5, keep='first'): | |
keep : {'first', 'last', 'all'}, default 'first' | ||
When there are duplicate values that cannot all fit in a | ||
Series of `n` elements: | ||
|
||
- ``first`` : take the first occurrences based on the index order | ||
- ``last`` : take the last occurrences based on the index order | ||
- ``all`` : keep all occurrences. This can result in a Series of | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we have an extra pair of colons here?