You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
306 B
12 lines
306 B
import pytest
|
|
|
|
import pandas as pd
|
|
|
|
pytest.importorskip("pyarrow", minversion="1.0.0")
|
|
|
|
|
|
def test_constructor_from_list():
|
|
# GH 27673
|
|
result = pd.Series(["E"], dtype=pd.StringDtype(storage="pyarrow"))
|
|
assert isinstance(result.dtype, pd.StringDtype)
|
|
assert result.dtype.storage == "pyarrow"
|
|
|