Skip to content

Commit 09d6302

Browse files
committed
op
1 parent ea6ad92 commit 09d6302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/style.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def _apply(
860860
f"Expected shape: {data.shape}"
861861
)
862862
result = DataFrame(result, index=data.index, columns=data.columns)
863-
if not (
863+
elif not (
864864
result.index.equals(data.index) and result.columns.equals(data.columns)
865865
):
866866
raise ValueError(

0 commit comments

Comments
 (0)