Skip to content

Commit 76f1919

Browse files
committed
fix comment
1 parent 8e5196c commit 76f1919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/strings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2323,7 +2323,7 @@ def _legal_dtype(series):
23232323
union_mask = np.logical_or.reduce(na_masks, axis=0)
23242324

23252325
# if there are any non-string, non-null values hidden within an object
2326-
# dtype, cat_core will fail; catch error and return better error.
2326+
# dtype, cat_core will fail; catch error and return with better message
23272327
try:
23282328
if na_rep is None and union_mask.any():
23292329
# no na_rep means NaNs for all rows where any column has a NaN

0 commit comments

Comments
 (0)