Skip to content

Commit 6d47f13

Browse files
authored
MAINT: Change all SO links to use HTTPS (#30663)
1 parent 85d10bb commit 6d47f13

File tree

9 files changed

+84
-84
lines changed

9 files changed

+84
-84
lines changed

doc/source/user_guide/cookbook.rst

Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.

pandas/core/dtypes/missing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def _use_inf_as_na(key):
212212
This approach to setting global module values is discussed and
213213
approved here:
214214
215-
* http://stackoverflow.com/questions/4859217/
215+
* https://stackoverflow.com/questions/4859217/
216216
programmatically-creating-variables-in-python/4859312#4859312
217217
"""
218218
flag = get_option(key)

pandas/io/sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ def _get_unicode_name(name):
13931393

13941394

13951395
def _get_valid_sqlite_name(name):
1396-
# See http://stackoverflow.com/questions/6514274/how-do-you-escape-strings\
1396+
# See https://stackoverflow.com/questions/6514274/how-do-you-escape-strings\
13971397
# -for-sqlite-table-column-names-in-python
13981398
# Ensure the string can be encoded as UTF-8.
13991399
# Ensure the string does not include any NUL characters.

pandas/tests/groupby/aggregate/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
def test_agg_api():
2828
# GH 6337
29-
# http://stackoverflow.com/questions/21706030/pandas-groupby-agg-function-column-dtype-error
29+
# https://stackoverflow.com/questions/21706030/pandas-groupby-agg-function-column-dtype-error
3030
# different api for agg when passed custom function with mixed frame
3131

3232
df = DataFrame(

pandas/tests/groupby/test_categorical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ def test_groupby_empty_with_category():
798798

799799
def test_sort():
800800

801-
# http://stackoverflow.com/questions/23814368/sorting-pandas-
801+
# https://stackoverflow.com/questions/23814368/sorting-pandas-
802802
# categorical-labels-after-groupby
803803
# This should result in a properly sorted Series so that the plot
804804
# has a sorted x axis

pandas/tests/indexing/multiindex/test_chaining_and_caching.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def test_detect_chained_assignment():
1010
# Inplace ops, originally from:
11-
# http://stackoverflow.com/questions/20508968/series-fillna-in-a-multiindex-dataframe-does-not-fill-is-this-a-bug
11+
# https://stackoverflow.com/questions/20508968/series-fillna-in-a-multiindex-dataframe-does-not-fill-is-this-a-bug
1212
a = [12, 23]
1313
b = [123, None]
1414
c = [1234, 2345]

pandas/tests/indexing/multiindex/test_setitem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_multiindex_setitem(self):
141141
df.loc["bar"] *= 2
142142

143143
# from SO
144-
# http://stackoverflow.com/questions/24572040/pandas-access-the-level-of-multiindex-for-inplace-operation
144+
# https://stackoverflow.com/questions/24572040/pandas-access-the-level-of-multiindex-for-inplace-operation
145145
df_orig = DataFrame.from_dict(
146146
{
147147
"price": {

pandas/tests/indexing/test_chaining_and_caching.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def random_text(nobs=100):
273273
str(df)
274274

275275
# from SO:
276-
# http://stackoverflow.com/questions/24054495/potential-bug-setting-value-for-undefined-column-using-iloc
276+
# https://stackoverflow.com/questions/24054495/potential-bug-setting-value-for-undefined-column-using-iloc
277277
df = DataFrame(np.arange(0, 9), columns=["count"])
278278
df["group"] = "b"
279279

pandas/tests/io/parser/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ def test_trailing_delimiters(all_parsers):
11311131

11321132

11331133
def test_escapechar(all_parsers):
1134-
# http://stackoverflow.com/questions/13824840/feature-request-for-
1134+
# https://stackoverflow.com/questions/13824840/feature-request-for-
11351135
# pandas-read-csv
11361136
data = '''SEARCH_TERM,ACTUAL_URL
11371137
"bra tv bord","http://www.ikea.com/se/sv/catalog/categories/departments/living_room/10475/?se%7cps%7cnonbranded%7cvardagsrum%7cgoogle%7ctv_bord"

0 commit comments

Comments
 (0)