pandas Styler
has no .columns
attr defined
#1102
Labels
pandas_docs
For issues where there is a conflict in behavior with pandas docs and stubs that needs resolution
Styler
conditional formatting using DataFrame.style
Describe the bug
pandas
Styler
has no.columns
attr defined in the stubs.To Reproduce
t.py
mypy t.py
Please complete the following information:
pandas-stubs
2.2.3.241126Additional context
the
StyleRenderer
base class has columns defined in__init__
.https://github.com/pandas-dev/pandas/blob/8973c551895c2cd3619cadf554362e802b27e02a/pandas/io/formats/style_render.py#L100
The text was updated successfully, but these errors were encountered: