pyspark.pandas.DataFrame.style

property DataFrame.style

Property returning a Styler object containing methods for building a styled HTML representation for the DataFrame.

Note

currently it collects top 1000 rows and return its pandas pandas.io.formats.style.Styler instance.

Examples

>>> ps.range(1001).style  
<pandas.io.formats.style.Styler object at ...>