Skip to content

Commit 8d4d04a

Browse files
committed
DOC: fix formatting of links on doc-strings
1 parent fb42766 commit 8d4d04a

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

pandas/core/frame.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,7 @@ def to_gbq(self, destination_table, project_id=None, chunksize=10000,
801801
into a default chunk size of 10,000. Failures return the complete error
802802
response which can be quite long depending on the size of the insert.
803803
There are several important limitations of the Google streaming API
804-
which are detailed at:
805-
https://developers.google.com/bigquery/streaming-data-into-bigquery.
804+
which are `here <https://developers.google.com/bigquery/streaming-data-into-bigquery>`_
806805
807806
Parameters
808807
----------
@@ -1488,8 +1487,8 @@ def to_latex(self, buf=None, columns=None, col_space=None, colSpace=None,
14881487
bold_rows : boolean, default True
14891488
Make the row labels bold in the output
14901489
column_format : str, default None
1491-
The columns format as specified in LaTeX (e.g 'rcl' for a 3 columns
1492-
table), see https://en.wikibooks.org/wiki/LaTeX/Tables
1490+
The columns format as specified in `LaTeX table format
1491+
<https://en.wikibooks.org/wiki/LaTeX/Tables>`_ e.g 'rcl' for 3 columns
14931492
longtable : boolean, default False
14941493
Use a longtable environment instead of tabular. Requires adding
14951494
a \\usepackage{longtable} to your LaTeX preamble.
@@ -2114,7 +2113,7 @@ def select_dtypes(self, include=None, exclude=None):
21142113
* To select strings you must use the ``object`` dtype, but note that
21152114
this will return *all* object dtype columns
21162115
* See the `numpy dtype hierarchy
2117-
<http://docs.scipy.org/doc/numpy/reference/arrays.scalars.html>`__
2116+
<http://docs.scipy.org/doc/numpy/reference/arrays.scalars.html>`_
21182117
* To select Pandas categorical dtypes, use 'category'
21192118
21202119
Examples

pandas/core/generic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2992,9 +2992,9 @@ def interpolate(self, method='linear', axis=0, limit=None, inplace=False,
29922992
* 'krogh', 'piecewise_polynomial', 'spline', and 'pchip' are all
29932993
wrappers around the scipy interpolation methods of similar
29942994
names. These use the actual numerical values of the index. See
2995-
the scipy documentation for more on their behavior:
2996-
http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation
2997-
http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html
2995+
the scipy documentation for more on their behavior
2996+
`here <http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation>`_
2997+
`and here <http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html>`_
29982998
29992999
axis : {0, 1}, default 0
30003000
* 0: fill column-by-column

0 commit comments

Comments
 (0)