You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""""Reset" the styler, removing any previously applied styles.
Returns None.
"""
self.ctx.clear()
self._todo= []
I am using the Pandas version 0.23.4.
When I call pandas.io.formats.style.Styler.clear(), it gives the error: "AttributeError: module 'pandas.io.formats' has no attribute 'style'".
However, I could find the 'style.py' under the Pandas installation folder.
The text was updated successfully, but these errors were encountered:
Oh, cool.
BTW, I forgot to mention that what I need is to unbold the headers when using the to_excel() method. However, the code df.style.clear() seems does not work.
@nuistzhou you should take a look at #22773 and #22759 which may yield insights on what you are trying to do. Specifically with the former we could use some help on documentation
pandas/pandas/io/formats/style.py
Lines 496 to 501 in 0409521
I am using the Pandas version 0.23.4.
When I call pandas.io.formats.style.Styler.clear(), it gives the error: "AttributeError: module 'pandas.io.formats' has no attribute 'style'".
However, I could find the 'style.py' under the Pandas installation folder.
The text was updated successfully, but these errors were encountered: