From 12a7ec737c66b4b755d6eb9f7d1cc758048293a4 Mon Sep 17 00:00:00 2001 From: callumfrederiksen Date: Thu, 29 Aug 2024 18:27:12 +0100 Subject: [PATCH 1/2] Fixed Typos --- pandas/tests/io/parser/test_network.py | 2 +- pandas/tests/io/test_stata.py | 2 +- pandas/tests/plotting/test_hist_method.py | 2 +- web/pandas/index.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pandas/tests/io/parser/test_network.py b/pandas/tests/io/parser/test_network.py index 4ccfa8e81e883..836ac71d8e865 100644 --- a/pandas/tests/io/parser/test_network.py +++ b/pandas/tests/io/parser/test_network.py @@ -39,7 +39,7 @@ def test_compressed_urls( # test reading compressed urls with various engines and # extension inference if compression_only == "tar": - pytest.skip("TODO: Add tar salaraies.csv to pandas/io/parsers/data") + pytest.skip("TODO: Add tar salaries.csv to pandas/io/parsers/data") extension = compression_to_extension[compression_only] with open(datapath("io", "parser", "data", "salaries.csv" + extension), "rb") as f: diff --git a/pandas/tests/io/test_stata.py b/pandas/tests/io/test_stata.py index 9f5085ff2ad28..5741a97aa75cc 100644 --- a/pandas/tests/io/test_stata.py +++ b/pandas/tests/io/test_stata.py @@ -1588,7 +1588,7 @@ def test_unsupported_datetype(self, temp_file): def test_repeated_column_labels(self, datapath): # GH 13923, 25772 msg = """ -Value labels for column ethnicsn are not unique. These cannot be converted to +Value labels for column ethics are not unique. These cannot be converted to pandas categoricals. Either read the file with `convert_categoricals` set to False or use the diff --git a/pandas/tests/plotting/test_hist_method.py b/pandas/tests/plotting/test_hist_method.py index 65cb62917dc4e..410b658065d8d 100644 --- a/pandas/tests/plotting/test_hist_method.py +++ b/pandas/tests/plotting/test_hist_method.py @@ -110,7 +110,7 @@ def test_hist_layout_with_by(self, hist_df, by, layout, axes_num, res_layout): # _check_plot_works adds an `ax` kwarg to the method call # so we get a warning about an axis being cleared, even - # though we don't explicing pass one, see GH #13188 + # though we don't explicitly pass one, see GH #13188 with tm.assert_produces_warning(UserWarning, check_stacklevel=False): axes = _check_plot_works(df.height.hist, by=getattr(df, by), layout=layout) _check_axes_shape(axes, axes_num=axes_num, layout=res_layout) diff --git a/web/pandas/index.html b/web/pandas/index.html index a7ed466cdcd05..63bc11d3ed5d8 100644 --- a/web/pandas/index.html +++ b/web/pandas/index.html @@ -49,7 +49,7 @@
With the support of:
{% if company %} - {{ company.name }} + {{ company.name }} {% endif %}
From 0a4ce1a1088182752b840279d830d48f9fd50685 Mon Sep 17 00:00:00 2001 From: callumfrederiksen Date: Thu, 29 Aug 2024 18:58:22 +0100 Subject: [PATCH 2/2] Changes requested --- pandas/tests/io/test_stata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/io/test_stata.py b/pandas/tests/io/test_stata.py index 5741a97aa75cc..9f5085ff2ad28 100644 --- a/pandas/tests/io/test_stata.py +++ b/pandas/tests/io/test_stata.py @@ -1588,7 +1588,7 @@ def test_unsupported_datetype(self, temp_file): def test_repeated_column_labels(self, datapath): # GH 13923, 25772 msg = """ -Value labels for column ethics are not unique. These cannot be converted to +Value labels for column ethnicsn are not unique. These cannot be converted to pandas categoricals. Either read the file with `convert_categoricals` set to False or use the