Skip to content

Commit 79b131e

Browse files
authored
CI fix githubusercontent in links (#50280)
githubusercontent Co-authored-by: MarcoGorelli <>
1 parent 16405f6 commit 79b131e

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

doc/source/getting_started/comparison/comparison_with_sas.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ The pandas method is :func:`read_csv`, which works similarly.
112112
.. ipython:: python
113113
114114
url = (
115-
"https://raw.github.com/pandas-dev/"
115+
"https://raw.githubusercontent.com/pandas-dev/"
116116
"pandas/main/pandas/tests/io/data/csv/tips.csv"
117117
)
118118
tips = pd.read_csv(url)

doc/source/getting_started/comparison/comparison_with_spreadsheets.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ In pandas, you pass the URL or local path of the CSV file to :func:`~pandas.read
100100
.. ipython:: python
101101
102102
url = (
103-
"https://raw.github.com/pandas-dev"
103+
"https://raw.githubusercontent.com/pandas-dev"
104104
"/pandas/main/pandas/tests/io/data/csv/tips.csv"
105105
)
106106
tips = pd.read_csv(url)

doc/source/getting_started/comparison/comparison_with_sql.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ structure.
1717
.. ipython:: python
1818
1919
url = (
20-
"https://raw.github.com/pandas-dev"
20+
"https://raw.githubusercontent.com/pandas-dev"
2121
"/pandas/main/pandas/tests/io/data/csv/tips.csv"
2222
)
2323
tips = pd.read_csv(url)

doc/source/getting_started/comparison/comparison_with_stata.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ the data set if presented with a url.
108108
.. ipython:: python
109109
110110
url = (
111-
"https://raw.github.com/pandas-dev"
111+
"https://raw.githubusercontent.com/pandas-dev"
112112
"/pandas/main/pandas/tests/io/data/csv/tips.csv"
113113
)
114114
tips = pd.read_csv(url)

pandas/plotting/_misc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def andrews_curves(
311311
:context: close-figs
312312
313313
>>> df = pd.read_csv(
314-
... 'https://raw.github.com/pandas-dev/'
314+
... 'https://raw.githubusercontent.com/pandas-dev/'
315315
... 'pandas/main/pandas/tests/io/data/csv/iris.csv'
316316
... )
317317
>>> pd.plotting.andrews_curves(df, 'Name')
@@ -443,7 +443,7 @@ def parallel_coordinates(
443443
:context: close-figs
444444
445445
>>> df = pd.read_csv(
446-
... 'https://raw.github.com/pandas-dev/'
446+
... 'https://raw.githubusercontent.com/pandas-dev/'
447447
... 'pandas/main/pandas/tests/io/data/csv/iris.csv'
448448
... )
449449
>>> pd.plotting.parallel_coordinates(

pandas/tests/io/parser/common/test_file_buffer_url.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@pytest.mark.network
3131
@tm.network(
3232
url=(
33-
"https://raw.github.com/pandas-dev/pandas/main/"
33+
"https://raw.githubusercontent.com/pandas-dev/pandas/main/"
3434
"pandas/tests/io/parser/data/salaries.csv"
3535
),
3636
check_before_test=True,
@@ -40,7 +40,7 @@ def test_url(all_parsers, csv_dir_path):
4040
kwargs = {"sep": "\t"}
4141

4242
url = (
43-
"https://raw.github.com/pandas-dev/pandas/main/"
43+
"https://raw.githubusercontent.com/pandas-dev/pandas/main/"
4444
"pandas/tests/io/parser/data/salaries.csv"
4545
)
4646
url_result = parser.read_csv(url, **kwargs)

0 commit comments

Comments
 (0)