diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst index 0596687b4d15e..0a891a4c6d2d7 100644 --- a/doc/source/getting_started/comparison/comparison_with_sql.rst +++ b/doc/source/getting_started/comparison/comparison_with_sql.rst @@ -18,7 +18,7 @@ structure. url = ( "https://raw.github.com/pandas-dev" - "/pandas/master/pandas/tests/io/data/csv/tips.csv" + "/pandas/main/pandas/tests/io/data/csv/tips.csv" ) tips = pd.read_csv(url) tips diff --git a/pandas/_version.py b/pandas/_version.py index fbec4a694d721..923b268919671 100644 --- a/pandas/_version.py +++ b/pandas/_version.py @@ -199,7 +199,7 @@ def git_versions_from_keywords(keywords, tag_prefix, verbose): # refs/heads/ and refs/tags/ prefixes that would let us distinguish # between branches and tags. By ignoring refnames without digits, we # filter out many common branch names like "release" and - # "stabilization", as well as "HEAD" and "master". + # "stabilization", as well as "HEAD" and "main". tags = {r for r in refs if re.search(r"\d", r)} if verbose: print("discarding '%s', no digits" % ",".join(refs - tags)) diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 3aac7e95e6591..9c978623d4fb6 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -171,7 +171,7 @@ def test_banklist_url(self): @tm.network def test_spam_url(self): url = ( - "https://raw.githubusercontent.com/pandas-dev/pandas/master/" + "https://raw.githubusercontent.com/pandas-dev/pandas/main/" "pandas/tests/io/data/html/spam.html" ) df1 = self.read_html(url, match=".*Water.*")