Skip to content

Commit bef6ac8

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 36e5435 commit bef6ac8

Some content is hidden

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

52 files changed

+169
-169
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: 2 additions & 2 deletions
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
6-
details, see the commit logs at http://github.com/pandas-dev/pandas.
5+
[here](https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html). For full
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
@@ -48,7 +48,7 @@
4848
def setup(*args, **kwargs):
4949
# This function just needs to be imported into each benchmark file to
5050
# set up the random seed before each function.
51-
# http://asv.readthedocs.io/en/latest/writing_benchmarks.html
51+
# https://asv.readthedocs.io/en/latest/writing_benchmarks.html
5252
np.random.seed(1234)
5353

5454

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,11 +632,11 @@ 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 "http://github.com/pandas-dev/pandas/blob/master/pandas/" "{}{}".format(
635+
return "https://github.com/pandas-dev/pandas/blob/master/pandas/" "{}{}".format(
636636
fn, linespec
637637
)
638638
else:
639-
return "http://github.com/pandas-dev/pandas/blob/" "v{}/pandas/{}{}".format(
639+
return "https://github.com/pandas-dev/pandas/blob/" "v{}/pandas/{}{}".format(
640640
pandas.__version__, fn, linespec
641641
)
642642

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

doc/source/development/contributing.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Bug reports and enhancement requests
3535
Bug reports are an important part of making *pandas* more stable. Having a complete bug report
3636
will allow others to reproduce the bug and provide insight into fixing. See
3737
`this stackoverflow article <https://stackoverflow.com/help/mcve>`_ and
38-
`this blogpost <http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports>`_
38+
`this blogpost <https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports>`_
3939
for tips on writing a good bug report.
4040

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

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

5151
```python
5252
>>> from pandas import DataFrame
@@ -83,19 +83,19 @@ feel free to ask for help.
8383

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

8989
Some great resources for learning Git:
9090

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

9595
Getting started with Git
9696
------------------------
9797

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

@@ -204,7 +204,7 @@ To return to your root environment::
204204

205205
conda deactivate
206206

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

209209
.. _contributing.pip:
210210

@@ -280,9 +280,9 @@ About the *pandas* documentation
280280
--------------------------------
281281

282282
The documentation is written in **reStructuredText**, which is almost like writing
283-
in plain English, and built using `Sphinx <http://sphinx.pocoo.org/>`__. The
283+
in plain English, and built using `Sphinx <https://www.sphinx-doc.org/en/master/>`__. The
284284
Sphinx Documentation has an excellent `introduction to reST
285-
<http://sphinx.pocoo.org/rest.html>`__. Review the Sphinx docs to perform more
285+
<https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html>`__. Review the Sphinx docs to perform more
286286
complex changes to the documentation as well.
287287

288288
Some other important things to know about the docs:
@@ -305,7 +305,7 @@ Some other important things to know about the docs:
305305
contributing_docstring.rst
306306

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

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

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

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

543543
clang-format style=google -dump-config > .clang-format
@@ -565,7 +565,7 @@ fixes manually.
565565
Python (PEP8 / black)
566566
~~~~~~~~~~~~~~~~~~~~~
567567

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

757757
Like many packages, *pandas* uses `pytest
758-
<http://docs.pytest.org/en/latest/>`_ and the convenient
758+
<https://docs.pytest.org/en/latest/>`_ and the convenient
759759
extensions in `numpy.testing
760-
<http://docs.scipy.org/doc/numpy/reference/routines.testing.html>`_.
760+
<https://docs.scipy.org/doc/numpy/reference/routines.testing.html>`_.
761761

762762
.. note::
763763

@@ -805,7 +805,7 @@ Transitioning to ``pytest``
805805
class TestReallyCoolFeature:
806806
pass
807807
808-
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
808+
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
809809
framework that will facilitate testing and developing. Thus, instead of writing test classes, we will write test functions like this:
810810

811811
.. code-block:: python
@@ -1038,7 +1038,7 @@ On Windows, one can type::
10381038
This can significantly reduce the time it takes to locally run tests before
10391039
submitting a pull request.
10401040

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

10431043
.. versionadded:: 0.20.0
10441044

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
@@ -264,7 +264,7 @@ Subclassing pandas data structures
264264

265265
1. Extensible method chains with :ref:`pipe <basics.pipe>`
266266

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

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

doc/source/ecosystem.rst

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

270-
`Blaze <http://blaze.pydata.org/>`__
271-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270+
`Blaze <https://blaze.pydata.org/>`__
271+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
272272

273273
Blaze provides a standard API for doing computations with various
274274
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
@@ -658,7 +658,7 @@ union of the column and row labels.
658658
659659
When doing an operation between DataFrame and Series, the default behavior is
660660
to align the Series **index** on the DataFrame **columns**, thus `broadcasting
661-
<http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html>`__
661+
<https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html>`__
662662
row-wise. For example:
663663

664664
.. ipython:: python

0 commit comments

Comments
 (0)