Skip to content

Commit 2dadd0f

Browse files
rebecca-palmerjreback
authored andcommitted
Use https for links where available (#31145)
1 parent 35c9eba commit 2dadd0f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+186
-186
lines changed

.github/CODE_OF_CONDUCT.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ incident.
5454

5555
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
5656
version 1.3.0, available at
57-
[http://contributor-covenant.org/version/1/3/0/][version],
57+
[https://www.contributor-covenant.org/version/1/3/0/][version],
5858
and the [Swift Code of Conduct][swift].
5959

60-
[homepage]: http://contributor-covenant.org
61-
[version]: http://contributor-covenant.org/version/1/3/0/
60+
[homepage]: https://www.contributor-covenant.org
61+
[version]: https://www.contributor-covenant.org/version/1/3/0/
6262
[swift]: https://swift.org/community/#code-of-conduct
6363

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you notice a bug in the code or documentation, or have suggestions for how we
1616

1717
## Contributing to the Codebase
1818

19-
The code is hosted on [GitHub](https://www.github.com/pandas-dev/pandas), so you will need to use [Git](http://git-scm.com/) to clone the project and make changes to the codebase. Once you have obtained a copy of the code, you should create a development environment that is separate from your existing Python environment so that you can make and test changes without compromising your own work environment. For more information, please refer to the "[Working with the code](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#working-with-the-code)" section.
19+
The code is hosted on [GitHub](https://www.github.com/pandas-dev/pandas), so you will need to use [Git](https://git-scm.com/) to clone the project and make changes to the codebase. Once you have obtained a copy of the code, you should create a development environment that is separate from your existing Python environment so that you can make and test changes without compromising your own work environment. For more information, please refer to the "[Working with the code](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#working-with-the-code)" section.
2020

2121
Before submitting your changes for review, make sure to check that your changes do not break any tests. You can find more information about our test suites in the "[Test-driven development/code writing](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#test-driven-development-code-writing)" section. We also have guidelines regarding coding style that will be enforced during testing, which can be found in the "[Code standards](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#code-standards)" section.
2222

AUTHORS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ About the Copyright Holders
1414
The PyData Development Team is the collection of developers of the PyData
1515
project. This includes all of the PyData sub-projects, including pandas. The
1616
core team that coordinates development on GitHub can be found here:
17-
http://github.com/pydata.
17+
https://github.com/pydata.
1818

1919
Full credits for pandas contributors can be found in the documentation.
2020

RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Release Notes
33

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

asv_bench/benchmarks/pandas_vb_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
def setup(*args, **kwargs):
5757
# This function just needs to be imported into each benchmark file to
5858
# set up the random seed before each function.
59-
# http://asv.readthedocs.io/en/latest/writing_benchmarks.html
59+
# https://asv.readthedocs.io/en/latest/writing_benchmarks.html
6060
np.random.seed(1234)
6161

6262

doc/cheatsheet/README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ and pick "PDF" as the format.
55
This cheat sheet was inspired by the RStudio Data Wrangling Cheatsheet[1], written by Irv Lustig, Princeton Consultants[2].
66

77
[1]: https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf
8-
[2]: http://www.princetonoptimization.com/
8+
[2]: https://www.princetonoptimization.com/

doc/source/conf.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
"py": ("https://pylib.readthedocs.io/en/latest/", None),
409409
"python": ("https://docs.python.org/3/", None),
410410
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
411-
"statsmodels": ("http://www.statsmodels.org/devel/", None),
411+
"statsmodels": ("https://www.statsmodels.org/devel/", None),
412412
}
413413

414414
# extlinks alias
@@ -625,10 +625,10 @@ def linkcode_resolve(domain, info):
625625
fn = os.path.relpath(fn, start=os.path.dirname(pandas.__file__))
626626

627627
if "+" in pandas.__version__:
628-
return f"http://github.com/pandas-dev/pandas/blob/master/pandas/{fn}{linespec}"
628+
return f"https://github.com/pandas-dev/pandas/blob/master/pandas/{fn}{linespec}"
629629
else:
630630
return (
631-
f"http://github.com/pandas-dev/pandas/blob/"
631+
f"https://github.com/pandas-dev/pandas/blob/"
632632
f"v{pandas.__version__}/pandas/{fn}{linespec}"
633633
)
634634

@@ -695,7 +695,7 @@ def rstjinja(app, docname, source):
695695
"""
696696
Render our pages as a jinja template for fancy templating goodness.
697697
"""
698-
# http://ericholscher.com/blog/2016/jul/25/integrating-jinja-rst-sphinx/
698+
# https://www.ericholscher.com/blog/2016/jul/25/integrating-jinja-rst-sphinx/
699699
# Make sure we're outputting HTML
700700
if app.builder.format != "html":
701701
return

doc/source/development/contributing.rst

+18-18
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Bug reports and enhancement requests
5656
Bug reports are an important part of making *pandas* more stable. Having a complete bug report
5757
will allow others to reproduce the bug and provide insight into fixing. See
5858
`this stackoverflow article <https://stackoverflow.com/help/mcve>`_ and
59-
`this blogpost <http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports>`_
59+
`this blogpost <https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports>`_
6060
for tips on writing a good bug report.
6161

6262
Trying the bug-producing code out on the *master* branch is often a worthwhile exercise
@@ -67,7 +67,7 @@ Bug reports must:
6767

6868
#. Include a short, self-contained Python snippet reproducing the problem.
6969
You can format the code nicely by using `GitHub Flavored Markdown
70-
<http://github.github.com/github-flavored-markdown/>`_::
70+
<https://github.github.com/github-flavored-markdown/>`_::
7171

7272
```python
7373
>>> from pandas import DataFrame
@@ -104,19 +104,19 @@ feel free to ask for help.
104104

105105
The code is hosted on `GitHub <https://www.github.com/pandas-dev/pandas>`_. To
106106
contribute you will need to sign up for a `free GitHub account
107-
<https://github.com/signup/free>`_. We use `Git <http://git-scm.com/>`_ for
107+
<https://github.com/signup/free>`_. We use `Git <https://git-scm.com/>`_ for
108108
version control to allow many people to work together on the project.
109109

110110
Some great resources for learning Git:
111111

112-
* the `GitHub help pages <http://help.github.com/>`_.
113-
* the `NumPy's documentation <http://docs.scipy.org/doc/numpy/dev/index.html>`_.
114-
* Matthew Brett's `Pydagogue <http://matthew-brett.github.com/pydagogue/>`_.
112+
* the `GitHub help pages <https://help.github.com/>`_.
113+
* the `NumPy's documentation <https://docs.scipy.org/doc/numpy/dev/index.html>`_.
114+
* Matthew Brett's `Pydagogue <https://matthew-brett.github.com/pydagogue/>`_.
115115

116116
Getting started with Git
117117
------------------------
118118

119-
`GitHub has instructions <http://help.github.com/set-up-git-redirect>`__ for installing git,
119+
`GitHub has instructions <https://help.github.com/set-up-git-redirect>`__ for installing git,
120120
setting up your SSH key, and configuring git. All these steps need to be completed before
121121
you can work seamlessly between your local repository and GitHub.
122122

@@ -260,7 +260,7 @@ To return to your root environment::
260260

261261
conda deactivate
262262

263-
See the full conda docs `here <http://conda.pydata.org/docs>`__.
263+
See the full conda docs `here <https://conda.pydata.org/docs>`__.
264264

265265
.. _contributing.pip:
266266

@@ -365,7 +365,7 @@ About the *pandas* documentation
365365
--------------------------------
366366

367367
The documentation is written in **reStructuredText**, which is almost like writing
368-
in plain English, and built using `Sphinx <http://www.sphinx-doc.org/en/master/>`__. The
368+
in plain English, and built using `Sphinx <https://www.sphinx-doc.org/en/master/>`__. The
369369
Sphinx Documentation has an excellent `introduction to reST
370370
<https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html>`__. Review the Sphinx docs to perform more
371371
complex changes to the documentation as well.
@@ -390,7 +390,7 @@ Some other important things to know about the docs:
390390
contributing_docstring.rst
391391

392392
* The tutorials make heavy use of the `ipython directive
393-
<http://matplotlib.org/sampledoc/ipython_directive.html>`_ sphinx extension.
393+
<https://matplotlib.org/sampledoc/ipython_directive.html>`_ sphinx extension.
394394
This directive lets you put code in the documentation which will be run
395395
during the doc build. For example::
396396

@@ -436,7 +436,7 @@ Some other important things to know about the docs:
436436
The ``.rst`` files are used to automatically generate Markdown and HTML versions
437437
of the docs. For this reason, please do not edit ``CONTRIBUTING.md`` directly,
438438
but instead make any changes to ``doc/source/development/contributing.rst``. Then, to
439-
generate ``CONTRIBUTING.md``, use `pandoc <http://johnmacfarlane.net/pandoc/>`_
439+
generate ``CONTRIBUTING.md``, use `pandoc <https://johnmacfarlane.net/pandoc/>`_
440440
with the following command::
441441

442442
pandoc doc/source/development/contributing.rst -t markdown_github > CONTRIBUTING.md
@@ -620,8 +620,8 @@ You can also run this command on an entire directory if necessary::
620620
cpplint --extensions=c,h --headers=h --filter=-readability/casting,-runtime/int,-build/include_subdir --recursive modified-c-directory
621621

622622
To make your commits compliant with this standard, you can install the
623-
`ClangFormat <http://clang.llvm.org/docs/ClangFormat.html>`_ tool, which can be
624-
downloaded `here <http://llvm.org/builds/>`__. To configure, in your home directory,
623+
`ClangFormat <https://clang.llvm.org/docs/ClangFormat.html>`_ tool, which can be
624+
downloaded `here <https://llvm.org/builds/>`__. To configure, in your home directory,
625625
run the following command::
626626

627627
clang-format style=google -dump-config > .clang-format
@@ -651,7 +651,7 @@ fixes manually.
651651
Python (PEP8 / black)
652652
~~~~~~~~~~~~~~~~~~~~~
653653

654-
*pandas* follows the `PEP8 <http://www.python.org/dev/peps/pep-0008/>`_ standard
654+
*pandas* follows the `PEP8 <https://www.python.org/dev/peps/pep-0008/>`_ standard
655655
and uses `Black <https://black.readthedocs.io/en/stable/>`_ and
656656
`Flake8 <http://flake8.pycqa.org/en/latest/>`_ to ensure a consistent code
657657
format throughout the project.
@@ -971,9 +971,9 @@ Adding tests is one of the most common requests after code is pushed to *pandas*
971971
it is worth getting in the habit of writing tests ahead of time so this is never an issue.
972972

973973
Like many packages, *pandas* uses `pytest
974-
<http://docs.pytest.org/en/latest/>`_ and the convenient
974+
<https://docs.pytest.org/en/latest/>`_ and the convenient
975975
extensions in `numpy.testing
976-
<http://docs.scipy.org/doc/numpy/reference/routines.testing.html>`_.
976+
<https://docs.scipy.org/doc/numpy/reference/routines.testing.html>`_.
977977

978978
.. note::
979979

@@ -1024,7 +1024,7 @@ Transitioning to ``pytest``
10241024
class TestReallyCoolFeature:
10251025
pass
10261026
1027-
Going forward, we are moving to a more *functional* style using the `pytest <http://docs.pytest.org/en/latest/>`__ framework, which offers a richer testing
1027+
Going forward, we are moving to a more *functional* style using the `pytest <https://docs.pytest.org/en/latest/>`__ framework, which offers a richer testing
10281028
framework that will facilitate testing and developing. Thus, instead of writing test classes, we will write test functions like this:
10291029

10301030
.. code-block:: python
@@ -1257,7 +1257,7 @@ On Windows, one can type::
12571257
This can significantly reduce the time it takes to locally run tests before
12581258
submitting a pull request.
12591259

1260-
For more, see the `pytest <http://docs.pytest.org/en/latest/>`_ documentation.
1260+
For more, see the `pytest <https://docs.pytest.org/en/latest/>`_ documentation.
12611261

12621262
Furthermore one can run
12631263

doc/source/development/contributing_docstring.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ language that allows encoding styles in plain text files. Documentation
7777
about reStructuredText can be found in:
7878

7979
* `Sphinx reStructuredText primer <https://www.sphinx-doc.org/en/stable/rest.html>`_
80-
* `Quick reStructuredText reference <http://docutils.sourceforge.net/docs/user/rst/quickref.html>`_
81-
* `Full reStructuredText specification <http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html>`_
80+
* `Quick reStructuredText reference <https://docutils.sourceforge.io/docs/user/rst/quickref.html>`_
81+
* `Full reStructuredText specification <https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html>`_
8282

8383
Pandas has some helpers for sharing docstrings between related classes, see
8484
:ref:`docstring.sharing`.

doc/source/development/extending.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Subclassing pandas data structures
306306

307307
1. Extensible method chains with :ref:`pipe <basics.pipe>`
308308

309-
2. Use *composition*. See `here <http://en.wikipedia.org/wiki/Composition_over_inheritance>`_.
309+
2. Use *composition*. See `here <https://en.wikipedia.org/wiki/Composition_over_inheritance>`_.
310310

311311
3. Extending by :ref:`registering an accessor <extending.register-accessors>`
312312

doc/source/development/maintaining.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ of what it means to be a maintainer.
3636
* Provide experience / wisdom on API design questions to ensure consistency and maintainability
3737
* Project organization (run / attend developer meetings, represent pandas)
3838

39-
http://matthewrocklin.com/blog/2019/05/18/maintainer may be interesting background
39+
https://matthewrocklin.com/blog/2019/05/18/maintainer may be interesting background
4040
reading.
4141

4242
.. _maintaining.triage:
@@ -78,7 +78,7 @@ Here's a typical workflow for triaging a newly opened issue.
7878
4. **Is the issue minimal and reproducible**?
7979

8080
For bug reports, we ask that the reporter provide a minimal reproducible
81-
example. See http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports
81+
example. See https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports
8282
for a good explanation. If the example is not reproducible, or if it's
8383
*clearly* not minimal, feel free to ask the reporter if they can provide
8484
and example or simplify the provided one. Do acknowledge that writing

doc/source/ecosystem.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ dimensional arrays, rather than the tabular data for which pandas excels.
303303
Out-of-core
304304
-------------
305305

306-
`Blaze <http://blaze.pydata.org/>`__
307-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
306+
`Blaze <https://blaze.pydata.org/>`__
307+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308308

309309
Blaze provides a standard API for doing computations with various
310310
in-memory and on-disk backends: NumPy, Pandas, SQLAlchemy, MongoDB, PyTables,

doc/source/getting_started/comparison/comparison_with_r.rst

+13-13
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Comparison with R / R libraries
66
*******************************
77

88
Since ``pandas`` aims to provide a lot of the data manipulation and analysis
9-
functionality that people use `R <http://www.r-project.org/>`__ for, this page
9+
functionality that people use `R <https://www.r-project.org/>`__ for, this page
1010
was started to provide a more detailed look at the `R language
11-
<http://en.wikipedia.org/wiki/R_(programming_language)>`__ and its many third
11+
<https://en.wikipedia.org/wiki/R_(programming_language)>`__ and its many third
1212
party libraries as they relate to ``pandas``. In comparisons with R and CRAN
1313
libraries, we care about the following things:
1414

@@ -517,37 +517,37 @@ For more details and examples see :ref:`categorical introduction <categorical>`
517517

518518

519519
.. |c| replace:: ``c``
520-
.. _c: http://stat.ethz.ch/R-manual/R-patched/library/base/html/c.html
520+
.. _c: https://stat.ethz.ch/R-manual/R-patched/library/base/html/c.html
521521

522522
.. |aggregate| replace:: ``aggregate``
523-
.. _aggregate: http://finzi.psych.upenn.edu/R/library/stats/html/aggregate.html
523+
.. _aggregate: https://stat.ethz.ch/R-manual/R-patched/library/stats/html/aggregate.html
524524

525525
.. |match| replace:: ``match`` / ``%in%``
526-
.. _match: http://finzi.psych.upenn.edu/R/library/base/html/match.html
526+
.. _match: https://stat.ethz.ch/R-manual/R-patched/library/base/html/match.html
527527

528528
.. |tapply| replace:: ``tapply``
529-
.. _tapply: http://finzi.psych.upenn.edu/R/library/base/html/tapply.html
529+
.. _tapply: https://stat.ethz.ch/R-manual/R-patched/library/base/html/tapply.html
530530

531531
.. |with| replace:: ``with``
532-
.. _with: http://finzi.psych.upenn.edu/R/library/base/html/with.html
532+
.. _with: https://stat.ethz.ch/R-manual/R-patched/library/base/html/with.html
533533

534534
.. |subset| replace:: ``subset``
535-
.. _subset: http://finzi.psych.upenn.edu/R/library/base/html/subset.html
535+
.. _subset: https://stat.ethz.ch/R-manual/R-patched/library/base/html/subset.html
536536

537537
.. |ddply| replace:: ``ddply``
538-
.. _ddply: http://www.inside-r.org/packages/cran/plyr/docs/ddply
538+
.. _ddply: https://cran.r-project.org/web/packages/plyr/plyr.pdf#Rfn.ddply.1
539539

540540
.. |meltarray| replace:: ``melt.array``
541-
.. _meltarray: http://www.inside-r.org/packages/cran/reshape2/docs/melt.array
541+
.. _meltarray: https://cran.r-project.org/web/packages/reshape2/reshape2.pdf#Rfn.melt.array.1
542542

543543
.. |meltlist| replace:: ``melt.list``
544-
.. meltlist: http://www.inside-r.org/packages/cran/reshape2/docs/melt.list
544+
.. meltlist: https://cran.r-project.org/web/packages/reshape2/reshape2.pdf#Rfn.melt.list.1
545545
546546
.. |meltdf| replace:: ``melt.data.frame``
547-
.. meltdf: http://www.inside-r.org/packages/cran/reshape2/docs/melt.data.frame
547+
.. meltdf: https://cran.r-project.org/web/packages/reshape2/reshape2.pdf#Rfn.melt.data.frame.1
548548
549549
.. |cast| replace:: ``cast``
550-
.. cast: http://www.inside-r.org/packages/cran/reshape2/docs/cast
550+
.. cast: https://cran.r-project.org/web/packages/reshape2/reshape2.pdf#Rfn.cast.1
551551
552552
.. |factor| replace:: ``factor``
553553
.. _factor: https://stat.ethz.ch/R-manual/R-devel/library/base/html/factor.html

doc/source/getting_started/comparison/comparison_with_stata.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,6 @@ Disk vs memory
673673
Pandas and Stata both operate exclusively in memory. This means that the size of
674674
data able to be loaded in pandas is limited by your machine's memory.
675675
If out of core processing is needed, one possibility is the
676-
`dask.dataframe <http://dask.pydata.org/en/latest/dataframe.html>`_
676+
`dask.dataframe <https://dask.pydata.org/en/latest/dataframe.html>`_
677677
library, which provides a subset of pandas functionality for an
678678
on-disk ``DataFrame``.

doc/source/getting_started/dsintro.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ union of the column and row labels.
609609
610610
When doing an operation between DataFrame and Series, the default behavior is
611611
to align the Series **index** on the DataFrame **columns**, thus `broadcasting
612-
<http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html>`__
612+
<https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html>`__
613613
row-wise. For example:
614614

615615
.. ipython:: python

0 commit comments

Comments
 (0)