MCPcopy
hub / github.com/pandas-dev/pandas / test_spam_header

Method test_spam_header

pandas/tests/io/test_html.py:271–274  ·  view source on GitHub ↗
(self, spam_data, flavor_read_html)

Source from the content-addressed store, hash-verified

269 assert isinstance(df, DataFrame)
270
271 def test_spam_header(self, spam_data, flavor_read_html):
272 df = flavor_read_html(spam_data, match=".*Water.*", header=2)[0]
273 assert df.columns[0] == "Proximates"
274 assert not df.empty
275
276 def test_skiprows_int(self, spam_data, flavor_read_html):
277 df1 = flavor_read_html(spam_data, match=".*Water.*", skiprows=1)

Callers

nothing calls this directly

Calls 1

flavor_read_htmlFunction · 0.85

Tested by

no test coverage detected