Skip to content

Commit cb9e9c7

Browse files
Debian Science Teamrebecca-palmer
Debian Science Team
authored andcommitted
Use https for links where possible
Also fix some (semi-)broken links found while checking https availability. Author: Rebecca N. Palmer <[email protected]> Forwarded: accepted for 1.1 pandas-dev/pandas#31145 Gbp-Pq: Name link_security.patch
1 parent 5d28da1 commit cb9e9c7

Some content is hidden

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

58 files changed

+179
-179
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,10 @@ def linkcode_resolve(domain, info):
632632
fn = os.path.relpath(fn, start=os.path.dirname(pandas.__file__))
633633

634634
if "+" in pandas.__version__:
635-
return f"http://github.com/pandas-dev/pandas/blob/master/pandas/{fn}{linespec}"
635+
return f"https://github.com/pandas-dev/pandas/blob/master/pandas/{fn}{linespec}"
636636
else:
637637
return (
638-
f"http://github.com/pandas-dev/pandas/blob/"
638+
f"https://github.com/pandas-dev/pandas/blob/"
639639
f"v{pandas.__version__}/pandas/{fn}{linespec}"
640640
)
641641

@@ -702,7 +702,7 @@ def rstjinja(app, docname, source):
702702
"""
703703
Render our pages as a jinja template for fancy templating goodness.
704704
"""
705-
# http://ericholscher.com/blog/2016/jul/25/integrating-jinja-rst-sphinx/
705+
# https://www.ericholscher.com/blog/2016/jul/25/integrating-jinja-rst-sphinx/
706706
# Make sure we're outputting HTML
707707
if app.builder.format != "html":
708708
return

doc/source/development/contributing.rst

Lines changed: 18 additions & 18 deletions
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

@@ -249,7 +249,7 @@ To return to your root environment::
249249

250250
conda deactivate
251251

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

254254
.. _contributing.pip:
255255

@@ -354,7 +354,7 @@ About the *pandas* documentation
354354
--------------------------------
355355

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

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

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

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

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

616616
clang-format style=google -dump-config > .clang-format
@@ -638,7 +638,7 @@ fixes manually.
638638
Python (PEP8 / black)
639639
~~~~~~~~~~~~~~~~~~~~~
640640

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

941941
Like many packages, *pandas* uses `pytest
942-
<http://docs.pytest.org/en/latest/>`_ and the convenient
942+
<https://docs.pytest.org/en/latest/>`_ and the convenient
943943
extensions in `numpy.testing
944-
<http://docs.scipy.org/doc/numpy/reference/routines.testing.html>`_.
944+
<https://docs.scipy.org/doc/numpy/reference/routines.testing.html>`_.
945945

946946
.. note::
947947

@@ -992,7 +992,7 @@ Transitioning to ``pytest``
992992
class TestReallyCoolFeature:
993993
pass
994994
995-
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
995+
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
996996
framework that will facilitate testing and developing. Thus, instead of writing test classes, we will write test functions like this:
997997

998998
.. code-block:: python
@@ -1225,7 +1225,7 @@ On Windows, one can type::
12251225
This can significantly reduce the time it takes to locally run tests before
12261226
submitting a pull request.
12271227

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

12301230
Furthermore one can run
12311231

doc/source/development/contributing_docstring.rst

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ dimensional arrays, rather than the tabular data for which pandas excels.
293293
Out-of-core
294294
-------------
295295

296-
`Blaze <http://blaze.pydata.org/>`__
297-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296+
`Blaze <https://blaze.pydata.org/>`__
297+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298298

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

doc/source/getting_started/comparison/comparison_with_r.rst

Lines changed: 13 additions & 13 deletions
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

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

519519

520520
.. |c| replace:: ``c``
521-
.. _c: http://stat.ethz.ch/R-manual/R-patched/library/base/html/c.html
521+
.. _c: https://stat.ethz.ch/R-manual/R-patched/library/base/html/c.html
522522

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

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

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

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

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

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

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

544544
.. |meltlist| replace:: ``melt.list``
545-
.. meltlist: http://www.inside-r.org/packages/cran/reshape2/docs/melt.list
545+
.. meltlist: https://cran.r-project.org/web/packages/reshape2/reshape2.pdf#Rfn.melt.list.1
546546
547547
.. |meltdf| replace:: ``melt.data.frame``
548-
.. meltdf: http://www.inside-r.org/packages/cran/reshape2/docs/melt.data.frame
548+
.. meltdf: https://cran.r-project.org/web/packages/reshape2/reshape2.pdf#Rfn.melt.data.frame.1
549549
550550
.. |cast| replace:: ``cast``
551-
.. cast: http://www.inside-r.org/packages/cran/reshape2/docs/cast
551+
.. cast: https://cran.r-project.org/web/packages/reshape2/reshape2.pdf#Rfn.cast.1
552552
553553
.. |factor| replace:: ``factor``
554554
.. _factor: https://stat.ethz.ch/R-manual/R-devel/library/base/html/factor.html

doc/source/getting_started/comparison/comparison_with_stata.rst

Lines changed: 1 addition & 1 deletion
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

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

616616
.. ipython:: python

0 commit comments

Comments
 (0)