@property
def style(self) -> 'Styler':
    '\n        Property returning a Styler object containing methods for\n        building a styled HTML representation for the DataFrame.\n\n        .. note:: currently it collects top 1000 rows and return its\n            pandas `pandas.io.formats.style.Styler` instance.\n\n        Examples\n        --------\n        >>> ps.range(1001).style  # doctest: +SKIP\n        <pandas.io.formats.style.Styler object at ...>\n        '
    max_results = get_option('compute.max_rows')
    pdf = self.head((max_results + 1))._to_internal_pandas()
    if (len(pdf) > max_results):
        warnings.warn(("'style' property will only use top %s rows." % max_results), UserWarning)
    return pdf.head(max_results).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  # doctest: +SKIP
<pandas.io.formats.style.Styler object at ...>
@property
def style(self) -> 'Styler':
    '\n        Property returning a Styler object containing methods for\n        building a styled HTML representation for the DataFrame.\n\n        .. note:: currently it collects top 1000 rows and return its\n            pandas `pandas.io.formats.style.Styler` instance.\n\n        Examples\n        --------\n        >>> ps.range(1001).style  # doctest: +SKIP\n        <pandas.io.formats.style.Styler object at ...>\n        '
    max_results = get_option('compute.max_rows')
    pdf = self.head((max_results + 1))._to_internal_pandas()
    if (len(pdf) > max_results):
        warnings.warn(("'style' property will only use top %s rows." % max_results), UserWarning)
    return pdf.head(max_results).style