A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/pandas-docs/stable/reference/api/../api/pandas.errors.CSSWarning.html below:

pandas.errors.CSSWarning — pandas 2.3.1 documentation

pandas.errors.CSSWarning#
exception pandas.errors.CSSWarning[source]#

Warning is raised when converting css styling fails.

This can be due to the styling not having an equivalent value or because the styling isn’t properly formatted.

Examples

>>> df = pd.DataFrame({'A': [1, 1, 1]})
>>> df.style.applymap(
...     lambda x: 'background-color: blueGreenRed;'
... ).to_excel('styled.xlsx')  
CSSWarning: Unhandled color format: 'blueGreenRed'
>>> df.style.applymap(
...     lambda x: 'border: 1px solid red red;'
... ).to_excel('styled.xlsx')  
CSSWarning: Unhandled color format: 'blueGreenRed'

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4