Skip to content

Commit e81e1da

Browse files
committed
Merge branch 'bugfix-61155' of https://github.com/Manju080/pandas into bugfix-61155
2 parents 4bf8a07 + d3bbeaf commit e81e1da

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pandas/core/arrays/string_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def _from_sequence(
639639
dtype = StringDtype(storage="python")
640640

641641
from pandas.core.arrays.masked import BaseMaskedArray
642-
642+
643643
na_value = dtype.na_value
644644
if isinstance(scalars, BaseMaskedArray):
645645
# avoid costly conversion to object dtype
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
import pandas as pd
2-
print(pd.array([list('test'), list('words')], dtype='string'))
3-
print(pd.array([list('test'), list('word')], dtype='string'))
2+
3+
print(pd.array([list("test"), list("words")], dtype="string"))
4+
print(pd.array([list("test"), list("word")], dtype="string"))

0 commit comments

Comments
 (0)