Skip to content

Commit d3bbeaf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fb965e7 commit d3bbeaf

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)