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 b1d12b1 commit 3353257Copy full SHA for 3353257
pandas/io/formats/style.py
@@ -1023,7 +1023,8 @@ def _update_ctx(self, attrs: DataFrame) -> None:
1023
)
1024
1025
for cn in attrs.columns:
1026
- for rn, c in attrs[[cn]].itertuples():
+ ser = attrs[cn]
1027
+ for rn, c in ser.items():
1028
if not c or pd.isna(c):
1029
continue
1030
css_list = maybe_convert_css_to_tuples(c)
0 commit comments