We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d300cb commit e4eb011Copy full SHA for e4eb011
pandas/tests/series/test_constructors.py
@@ -138,10 +138,12 @@ def test_constructor_no_data_index_order(self):
138
assert result.index.tolist() == ['b', 'a', 'c']
139
140
def test_constructor_no_data_string_type(self):
141
+ # GH 22477
142
result = pd.Series(index=[1], dtype=str)
143
assert result.isna().all()
144
145
def test_constructor_single_element_string_type(self):
146
147
result = pd.Series(13, index=[1], dtype=str)
148
assert result.values.tolist() == ['13']
149
0 commit comments