Detail: Series: Display#
- Series.interface#
A Frame documenting the interface of this class.
>>> s = sf.Series((10, 2, 8), index=('a', 'b', 'c')) >>> s <Series> <Index> a 10 b 2 c 8 <<U1> <int64> >>> s.interface <Frame> <Index> cls_name group doc <<U18> <Index: signature> __init__(values, /, *, index, name,… Series Constructor Initializer. Args: … from_concat(containers, /, *, index… Series Constructor Concatenate multipl… from_concat_items(items, /, *, name… Series Constructor Produce a Series wi… from_delimited(delimited, /, *, del… Series Constructor Series construction… from_dict(mapping, /, *, dtype, nam… Series Constructor Series construction… from_display(display, /) Series Constructor Construct a Series … from_element(element, /, *, index, … Series Constructor Create a Series fro… from_items(pairs, /, *, dtype, name… Series Constructor Series construction… from_overlay(containers, /, *, inde… Series Constructor Return a new Series… from_pandas(value, /, *, index, ind… Series Constructor Given a Pandas Seri… to_frame(*, axis, index, index_cons… Series Exporter Return a Frame view… to_frame_go(*, axis, index, index_c… Series Exporter Return FrameGO view… to_frame_he(*, axis, index, index_c… Series Exporter Return FrameHE view… to_html(config, /, *, style_config) Series Exporter Return an HTML tabl… to_html_datatables(fp, /, *, show, … Series Exporter Return a complete H… to_pairs() Series Exporter Return a tuple of t… to_pandas() Series Exporter Return a Pandas Ser… … … … … via_hashlib(*, include_name, includ… Series Accessor Hashlib via_hashlib(*, include_name, includ… Series Accessor Hashlib via_hashlib(*, include_name, includ… Series Accessor Hashlib via_hashlib(*, include_name, includ… Series Accessor Hashlib via_type_clinic.to_hint() Series Accessor Type Clinic Return the type hin… via_type_clinic.check(hint, /, *, f… Series Accessor Type Clinic Given a hint (a typ… via_type_clinic.warn(hint, /, *, fa… Series Accessor Type Clinic Given a hint (a typ… via_type_clinic.__call__(hint, /, *… Series Accessor Type Clinic Given a hint (a typ… via_type_clinic.__repr__() Series Accessor Type Clinic Return a compact st… via_mapping.__getitem__(key) Series Accessor Mapping via_mapping.__iter__() Series Accessor Mapping via_mapping.__len__() Series Accessor Mapping via_mapping.__contains__(key, /) Series Accessor Mapping via_mapping.__repr__() Series Accessor Mapping via_mapping.keys() Series Accessor Mapping via_mapping.values() Series Accessor Mapping via_mapping.items() Series Accessor Mapping <<U98> <<U6> <<U27> <<U81>
- Series.__repr__()#
Return repr(self).
>>> s = sf.Series((10, 2, 8), index=('a', 'b', 'c')) >>> repr(s) <Series> <Index> a 10 b 2 c 8 <<U1> <int64>
- Series.__str__()#
Return str(self).
>>> s = sf.Series((10, 2, 8), index=('a', 'b', 'c')) >>> str(s) <Series> <Index> a 10 b 2 c 8 <<U1> <int64>
- Series.display(config=None, /, *, style_config=None)[source]#
Return a
static_frame.Display, capable of providing a string representation.- Parameters:
config – A
static_frame.DisplayConfiginstance. If not provided, thestatic_frame.DisplayActivewill be used.
>>> s = sf.Series((10, 2, 8), index=('a', 'b', 'c')) >>> s.display() <Series> <Index> a 10 b 2 c 8 <<U1> <int64> >>> s.display(sf.DisplayConfig(type_show=False)) a 10 b 2 c 8
- Series.display_tall(config=None, /)#
Maximize vertical presentation. Return a
static_frame.Display, capable of providing a string representation.- Parameters:
config – A
static_frame.DisplayConfiginstance. If not provided, thestatic_frame.DisplayActivewill be used.
>>> s = sf.Series((10, 2, 8), index=('a', 'b', 'c')) >>> s.display_tall() <Series> <Index> a 10 b 2 c 8 <<U1> <int64>
- Series.display_wide(config=None, /)#
Maximize horizontal presentation. Return a
static_frame.Display, capable of providing a string representation.- Parameters:
config – A
static_frame.DisplayConfiginstance. If not provided, thestatic_frame.DisplayActivewill be used.
>>> s = sf.Series((10, 2, 8), index=('a', 'b', 'c')) >>> s.display_wide() <Series> <Index> a 10 b 2 c 8 <<U1> <int64>
Series: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Assignment | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Fill Value | Accessor Regular Expression | Accessor Hashlib | Accessor Type Clinic | Accessor Mapping