TimedeltaIndex.all()

TimedeltaIndex.all(other=None) [source]

Time Series / Date functionality

pandas has proven very successful as a tool for working with time series data, especially in the financial data analysis space. Using the NumPy datetime64 and timedelta64 dtypes, we have consolidated a large number of features from other Python libraries like scikits.timeseries as well as created a tremendous amount of new functionality for manipulating time series data. In working with time series data, we will frequently seek to: generate sequences of fixed-frequency dates and time spans co

Styler.use()

Styler.use(styles) [source] Set the styles on the current Styler, possibly using styles from Styler.export. New in version 0.17.1. Parameters: styles: list list of style functions Returns: self : Styler See also Styler.export

Styler.set_uuid()

Styler.set_uuid(uuid) [source] Set the uuid for a Styler. New in version 0.17.1. Parameters: uuid: str Returns: self : Styler

Styler.set_table_styles()

Styler.set_table_styles(table_styles) [source] Set the table styles on a Styler. These are placed in a <style> tag before the generated HTML table. New in version 0.17.1. Parameters: table_styles: list Each individual table_style should be a dictionary with selector and props keys. selector should be a CSS selector that the style will be applied to (automatically prefixed by the table?s UUID) and props should be a list of tuples with (attribute, value). Returns: self : Styler

Styler.set_table_attributes()

Styler.set_table_attributes(attributes) [source] Set the table attributes. These are the items that show up in the opening <table> tag in addition to to automatic (by default) id. New in version 0.17.1. Parameters: precision: int Returns: self : Styler

Styler.set_properties()

Styler.set_properties(subset=None, **kwargs) [source] Convience method for setting one or more non-data dependent properties or each cell. New in version 0.17.1. Parameters: subset: IndexSlice a valid slice for data to limit the style application to kwargs: dict property: value pairs to be set for each cell Returns: self : Styler Examples >>> df = pd.DataFrame(np.random.randn(10, 4)) >>> df.style.set_properties(color="white", align="right") >>> df.style.

Styler.set_precision()

Styler.set_precision(precision) [source] Set the precision used to render. New in version 0.17.1. Parameters: precision: int Returns: self : Styler

Styler.set_caption()

Styler.set_caption(caption) [source] Se the caption on a Styler New in version 0.17.1. Parameters: caption: str Returns: self : Styler

Styler.render()

Styler.render() [source] Render the built up styles to HTML New in version 0.17.1. Returns: rendered: str the rendered HTML Notes Styler objects have defined the _repr_html_ method which automatically calls self.render() when it?s the last item in a Notebook cell. When calling Styler.render() directly, wrap the result in IPython.display.HTML to view the rendered HTML in the notebook.