Skip to content

Commit 50ae37d

Browse files
authored
MAINT: Change all pandas links to use HTTPS (#30669)
Also update the link to pandas' whatsnew page
1 parent bd15c59 commit 50ae37d

36 files changed

+46
-46
lines changed

RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Release Notes
22
=============
33

44
The list of changes to Pandas between each release can be found
5-
[here](http://pandas.pydata.org/pandas-docs/stable/whatsnew.html). For full
5+
[here](https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html). For full
66
details, see the commit logs at http://github.com/pandas-dev/pandas.

asv_bench/asv.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"project": "pandas",
88

99
// The project's homepage
10-
"project_url": "http://pandas.pydata.org/",
10+
"project_url": "https://pandas.pydata.org/",
1111

1212
// The URL of the source code repository for the project being
1313
// benchmarked

conda.recipe/meta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ test:
3636

3737

3838
about:
39-
home: http://pandas.pydata.org
39+
home: https://pandas.pydata.org
4040
license: BSD

doc/source/development/contributing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ The utility script ``scripts/validate_docstrings.py`` can be used to get a csv
434434
summary of the API documentation. And also validate common errors in the docstring
435435
of a specific class, function or method. The summary also compares the list of
436436
methods documented in ``doc/source/api.rst`` (which is used to generate
437-
the `API Reference <http://pandas.pydata.org/pandas-docs/stable/api.html>`_ page)
437+
the `API Reference <https://pandas.pydata.org/pandas-docs/stable/api.html>`_ page)
438438
and the actual public methods.
439439
This will identify methods documented in ``doc/source/api.rst`` that are not actually
440440
class methods, and existing methods that are not documented in ``doc/source/api.rst``.

doc/source/getting_started/tutorials.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pandas' own :ref:`10 Minutes to pandas<10min>`.
1515

1616
More complex recipes are in the :ref:`Cookbook<cookbook>`.
1717

18-
A handy pandas `cheat sheet <http://pandas.pydata.org/Pandas_Cheat_Sheet.pdf>`_.
18+
A handy pandas `cheat sheet <https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf>`_.
1919

2020
Community guides
2121
================

doc/source/user_guide/cookbook.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ The :ref:`Resample <timeseries.resampling>` docs.
795795
<https://stackoverflow.com/questions/33637312/pandas-grouper-by-frequency-with-completeness-requirement>`__
796796

797797
`Valid frequency arguments to Grouper
798-
<http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases>`__
798+
<https://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases>`__
799799

800800
`Grouping using a MultiIndex
801801
<https://stackoverflow.com/questions/41483763/pandas-timegrouper-on-multiindex>`__

doc/source/user_guide/indexing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ Current behavior
668668
KeyError in the future, you can use .reindex() as an alternative.
669669
670670
See the documentation here:
671-
http://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike
671+
https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike
672672
673673
Out[4]:
674674
1 2.0

doc/source/user_guide/io.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2629,7 +2629,7 @@ that contain URLs.
26292629
26302630
url_df = pd.DataFrame({
26312631
'name': ['Python', 'Pandas'],
2632-
'url': ['https://www.python.org/', 'http://pandas.pydata.org']})
2632+
'url': ['https://www.python.org/', 'https://pandas.pydata.org']})
26332633
print(url_df.to_html(render_links=True))
26342634
26352635
.. ipython:: python

doc/source/user_guide/style.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@
10631063
"- Provide an API that is pleasing to use interactively and is \"good enough\" for many tasks\n",
10641064
"- Provide the foundations for dedicated libraries to build on\n",
10651065
"\n",
1066-
"If you build a great library on top of this, let us know and we'll [link](http://pandas.pydata.org/pandas-docs/stable/ecosystem.html) to it.\n",
1066+
"If you build a great library on top of this, let us know and we'll [link](https://pandas.pydata.org/pandas-docs/stable/ecosystem.html) to it.\n",
10671067
"\n",
10681068
"### Subclassing\n",
10691069
"\n",

doc/source/whatsnew/v0.15.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ Other notable API changes:
852852
A value is trying to be set on a copy of a slice from a DataFrame.
853853
Try using .loc[row_indexer,col_indexer] = value instead
854854
855-
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
855+
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
856856
857857
- ``merge``, ``DataFrame.merge``, and ``ordered_merge`` now return the same type
858858
as the ``left`` argument (:issue:`7737`).

doc/source/whatsnew/v0.15.2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Other enhancements:
172172
4 True True True True
173173
174174
- Added support for ``utcfromtimestamp()``, ``fromtimestamp()``, and ``combine()`` on `Timestamp` class (:issue:`5351`).
175-
- Added Google Analytics (`pandas.io.ga`) basic documentation (:issue:`8835`). See `here <http://pandas.pydata.org/pandas-docs/version/0.15.2/remote_data.html#remote-data-ga>`__.
175+
- Added Google Analytics (`pandas.io.ga`) basic documentation (:issue:`8835`). See `here <https://pandas.pydata.org/pandas-docs/version/0.15.2/remote_data.html#remote-data-ga>`__.
176176
- ``Timedelta`` arithmetic returns ``NotImplemented`` in unknown cases, allowing extensions by custom classes (:issue:`8813`).
177177
- ``Timedelta`` now supports arithmetic with ``numpy.ndarray`` objects of the appropriate dtype (numpy 1.8 or newer only) (:issue:`8884`).
178178
- Added ``Timedelta.to_timedelta64()`` method to the public API (:issue:`8884`).

doc/source/whatsnew/v0.16.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ Deprecations
528528
`seaborn <http://stanford.edu/~mwaskom/software/seaborn/>`_ for similar
529529
but more refined functionality (:issue:`3445`).
530530
The documentation includes some examples how to convert your existing code
531-
from ``rplot`` to seaborn `here <http://pandas.pydata.org/pandas-docs/version/0.18.1/visualization.html#trellis-plotting-interface>`__.
531+
from ``rplot`` to seaborn `here <https://pandas.pydata.org/pandas-docs/version/0.18.1/visualization.html#trellis-plotting-interface>`__.
532532

533533
- The ``pandas.sandbox.qtpandas`` interface is deprecated and will be removed in a future version.
534534
We refer users to the external package `pandas-qt <https://github.com/datalyze-solutions/pandas-qt>`_. (:issue:`9615`)

doc/source/whatsnew/v0.21.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ Current behavior
470470
KeyError in the future, you can use .reindex() as an alternative.
471471
472472
See the documentation here:
473-
http://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike
473+
https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike
474474
475475
Out[4]:
476476
1 2.0

pandas/core/arrays/categorical.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class Categorical(ExtensionArray, PandasObject):
273273
Notes
274274
-----
275275
See the `user guide
276-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/categorical.html>`_
276+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/categorical.html>`_
277277
for more.
278278
279279
Examples

pandas/core/arrays/interval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
Notes
106106
-----
107107
See the `user guide
108-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html#intervalindex>`_
108+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html#intervalindex>`_
109109
for more.
110110
111111
%(examples)s\

pandas/core/dtypes/concat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def union_categoricals(
220220
-----
221221
222222
To learn more about categories, see `link
223-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/categorical.html#unioning>`__
223+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/categorical.html#unioning>`__
224224
225225
Examples
226226
--------

pandas/core/generic.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -3653,7 +3653,7 @@ def _check_setitem_copy(self, stacklevel=4, t="setting", force=False):
36533653
"A value is trying to be set on a copy of a slice from a "
36543654
"DataFrame\n\n"
36553655
"See the caveats in the documentation: "
3656-
"http://pandas.pydata.org/pandas-docs/stable/user_guide/"
3656+
"https://pandas.pydata.org/pandas-docs/stable/user_guide/"
36573657
"indexing.html#returning-a-view-versus-a-copy"
36583658
)
36593659

@@ -3664,7 +3664,7 @@ def _check_setitem_copy(self, stacklevel=4, t="setting", force=False):
36643664
"DataFrame.\n"
36653665
"Try using .loc[row_indexer,col_indexer] = value "
36663666
"instead\n\nSee the caveats in the documentation: "
3667-
"http://pandas.pydata.org/pandas-docs/stable/user_guide/"
3667+
"https://pandas.pydata.org/pandas-docs/stable/user_guide/"
36683668
"indexing.html#returning-a-view-versus-a-copy"
36693669
)
36703670

@@ -7376,7 +7376,7 @@ def clip(
73767376
Notes
73777377
-----
73787378
See the `user guide
7379-
<http://pandas.pydata.org/pandas-docs/stable/groupby.html>`_ for more.
7379+
<https://pandas.pydata.org/pandas-docs/stable/groupby.html>`_ for more.
73807380
"""
73817381

73827382
def asfreq(
@@ -7425,7 +7425,7 @@ def asfreq(
74257425
Notes
74267426
-----
74277427
To learn more about the frequency strings, please see `this link
7428-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
7428+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
74297429
74307430
Examples
74317431
--------
@@ -7704,7 +7704,7 @@ def resample(
77047704
for more.
77057705
77067706
To learn more about the offset strings, please see `this link
7707-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#dateoffset-objects>`__.
7707+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#dateoffset-objects>`__.
77087708
77097709
Examples
77107710
--------

pandas/core/groupby/groupby.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class providing the base-class of operations.
236236
Notes
237237
-----
238238
See more `here
239-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#piping-function-calls>`_
239+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#piping-function-calls>`_
240240
241241
Examples
242242
--------

pandas/core/groupby/grouper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Grouper:
5353
This will groupby the specified frequency if the target selection
5454
(via key or level) is a datetime-like object. For full specification
5555
of available frequencies, please see `here
56-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`_.
56+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`_.
5757
axis : str, int, defaults to 0
5858
Number/name of the axis.
5959
sort : bool, default to False

pandas/core/indexes/category.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class CategoricalIndex(Index, accessor.PandasDelegate):
132132
Notes
133133
-----
134134
See the `user guide
135-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html#categoricalindex>`_
135+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html#categoricalindex>`_
136136
for more.
137137
138138
Examples

pandas/core/indexes/datetimes.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class DatetimeIndex(DatetimeTimedeltaMixin, DatetimeDelegateMixin):
208208
Notes
209209
-----
210210
To learn more about the frequency strings, please see `this link
211-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
211+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
212212
"""
213213

214214
_typ = "datetimeindex"
@@ -1212,7 +1212,7 @@ def date_range(
12121212
``start`` and ``end`` (closed on both sides).
12131213
12141214
To learn more about the frequency strings, please see `this link
1215-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
1215+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
12161216
12171217
Examples
12181218
--------
@@ -1383,7 +1383,7 @@ def bdate_range(
13831383
desired.
13841384
13851385
To learn more about the frequency strings, please see `this link
1386-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
1386+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
13871387
13881388
Examples
13891389
--------

pandas/core/indexes/interval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ def interval_range(
12691269
``start`` and ``end``, inclusively.
12701270
12711271
To learn more about datetime-like frequency strings, please see `this link
1272-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
1272+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
12731273
12741274
Examples
12751275
--------

pandas/core/indexes/multi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class MultiIndex(Index):
205205
Notes
206206
-----
207207
See the `user guide
208-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html>`_
208+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html>`_
209209
for more.
210210
211211
Examples

pandas/core/indexes/period.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ def period_range(
879879
must be specified.
880880
881881
To learn more about the frequency strings, please see `this link
882-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
882+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
883883
884884
Examples
885885
--------

pandas/core/indexes/timedeltas.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class TimedeltaIndex(
125125
Notes
126126
-----
127127
To learn more about the frequency strings, please see `this link
128-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
128+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
129129
"""
130130

131131
_typ = "timedeltaindex"
@@ -547,7 +547,7 @@ def timedelta_range(
547547
``start`` and ``end`` (closed on both sides).
548548
549549
To learn more about the frequency strings, please see `this link
550-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
550+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
551551
552552
Examples
553553
--------

pandas/core/reshape/concat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def concat(
109109
110110
A walkthrough of how this method fits in with other tools for combining
111111
pandas objects can be found `here
112-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/merging.html>`__.
112+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/merging.html>`__.
113113
114114
Examples
115115
--------

pandas/core/tools/datetimes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ def to_datetime(
645645
dtype: datetime64[ns]
646646
647647
If a date does not meet the `timestamp limitations
648-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html
648+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html
649649
#timeseries-timestamp-limits>`_, passing errors='ignore'
650650
will return the original input instead of raising any exception.
651651

pandas/core/window/ewm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class EWM(_Rolling):
8989
(if adjust is True), and 1-alpha and alpha (if adjust is False).
9090
9191
More details can be found at
92-
http://pandas.pydata.org/pandas-docs/stable/user_guide/computation.html#exponentially-weighted-windows
92+
https://pandas.pydata.org/pandas-docs/stable/user_guide/computation.html#exponentially-weighted-windows
9393
9494
Examples
9595
--------

pandas/core/window/rolling.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ class Window(_Window):
856856
changed to the center of the window by setting ``center=True``.
857857
858858
To learn more about the offsets & frequency strings, please see `this link
859-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
859+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
860860
861861
The recognized win_types are:
862862

pandas/io/json/_json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def read_json(
479479
chunksize : int, optional
480480
Return JsonReader object for iteration.
481481
See the `line-delimited json docs
482-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#line-delimited-json>`_
482+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#line-delimited-json>`_
483483
for more information on ``chunksize``.
484484
This can only be passed if `lines=True`.
485485
If this is None, the file will be read into memory all at once.

pandas/io/parsers.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
into chunks.
8585
8686
Additional help can be found in the online docs for
87-
`IO Tools <http://pandas.pydata.org/pandas-docs/stable/user_guide/io.html>`_.
87+
`IO Tools <https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html>`_.
8888
8989
Parameters
9090
----------
@@ -272,7 +272,7 @@
272272
chunksize : int, optional
273273
Return TextFileReader object for iteration.
274274
See the `IO Tools docs
275-
<http://pandas.pydata.org/pandas-docs/stable/io.html#io-chunking>`_
275+
<https://pandas.pydata.org/pandas-docs/stable/io.html#io-chunking>`_
276276
for more information on ``iterator`` and ``chunksize``.
277277
compression : {{'infer', 'gzip', 'bz2', 'zip', 'xz', None}}, default 'infer'
278278
For on-the-fly decompression of on-disk data. If 'infer' and
@@ -715,7 +715,7 @@ def read_fwf(
715715
into chunks.
716716
717717
Additional help can be found in the `online docs for IO Tools
718-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/io.html>`_.
718+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html>`_.
719719
720720
Parameters
721721
----------

pandas/io/pytables.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ def put(
10181018
data_columns : list, default None
10191019
List of columns to create as data columns, or True to
10201020
use all columns. See `here
1021-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
1021+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
10221022
encoding : str, default None
10231023
Provide an encoding for strings.
10241024
dropna : bool, default False, do not write an ALL nan row to
@@ -1138,7 +1138,7 @@ def append(
11381138
List of columns to create as indexed data columns for on-disk
11391139
queries, or True to use all columns. By default only the axes
11401140
of the object are indexed. See `here
1141-
<http://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
1141+
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
11421142
min_itemsize : dict of columns that specify minimum string sizes
11431143
nan_rep : string to use as string nan representation
11441144
chunksize : size to chunk the writing

pandas/tests/indexes/multi/test_sorting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def test_unsortedindex():
120120

121121

122122
def test_unsortedindex_doc_examples():
123-
# http://pandas.pydata.org/pandas-docs/stable/advanced.html#sorting-a-multiindex # noqa
123+
# https://pandas.pydata.org/pandas-docs/stable/advanced.html#sorting-a-multiindex # noqa
124124
dfm = DataFrame(
125125
{"jim": [0, 0, 1, 1], "joe": ["x", "x", "z", "y"], "jolie": np.random.rand(4)}
126126
)

pandas/tests/io/formats/data/html/render_links_false.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<tr>
1212
<th>0</th>
1313
<td>0</td>
14-
<td>http://pandas.pydata.org/?q1=a&amp;q2=b</td>
14+
<td>https://pandas.pydata.org/?q1=a&amp;q2=b</td>
1515
<td>pydata.org</td>
1616
</tr>
1717
<tr>

0 commit comments

Comments
 (0)