Detail: IndexHierarchyGO: Display

Overview: IndexHierarchyGO: Display

IndexHierarchyGO.interface

A Frame documenting the interface of this class.

>>> ih = sf.IndexHierarchyGO.from_labels((('a', 1024, '1517-04-01'), ('a', 2048, '1789-12-31'), ('b', 0, '1620-11-21')), index_constructors=(sf.Index, sf.Index, sf.IndexDate), name=('x', 'y', 'z'))
>>> ih
<IndexHierarchyGO: ('x', 'y', 'z')>
a                                   1024    1517-04-01
a                                   2048    1789-12-31
b                                   0       1620-11-21
<<U1>                               <int64> <datetime64[D]>
>>> ih.interface
<Frame>
<Index>                              cls_name         group                doc                  <<U18>
<Index: signature>
__init__(indices, *, indexers, na... IndexHierarchyGO Constructor          Initializer. Args...
from_index_items(items, *, index_... IndexHierarchyGO Constructor          Given an iterable...
from_labels(labels, *, name, reor... IndexHierarchyGO Constructor          Construct an Inde...
from_labels_delimited(labels, *, ... IndexHierarchyGO Constructor          Construct an Inde...
from_names(names)                    IndexHierarchyGO Constructor          Construct a zero-...
from_pandas(value)                   IndexHierarchyGO Constructor          Given a Pandas in...
from_product(*, name, index_const... IndexHierarchyGO Constructor          Given groups of i...
from_tree(tree, *, name, index_co... IndexHierarchyGO Constructor          Convert into a In...
from_values_per_depth(values, *, ... IndexHierarchyGO Constructor          Construct an Inde...
to_frame()                           IndexHierarchyGO Exporter             Return Frame vers...
to_frame_go()                        IndexHierarchyGO Exporter             Return a FrameGO ...
to_html(config, style_config)        IndexHierarchyGO Exporter             Return an HTML ta...
to_html_datatables(fp, *, show, c... IndexHierarchyGO Exporter             Return a complete...
to_pandas()                          IndexHierarchyGO Exporter             Return a Pandas M...
to_tree()                            IndexHierarchyGO Exporter             Returns the tree ...
to_visidata()                        IndexHierarchyGO Exporter             Open an interacti...
STATIC                               IndexHierarchyGO Attribute            bool(x) -> bool R...
...                                  ...              ...                  ...
via_re(pattern, flags).sub(repl, ... IndexHierarchyGO Accessor Regular ... Return the string...
via_re(pattern, flags).subn(repl,... IndexHierarchyGO Accessor Regular ... Perform the same ...
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib     Return the byte s...
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_hashlib(include_name, include... IndexHierarchyGO Accessor Hashlib
via_type_clinic.to_hint()            IndexHierarchyGO Accessor Type Clinic Return the type h...
via_type_clinic.check(hint, *, fa... IndexHierarchyGO Accessor Type Clinic Given a hint (a t...
via_type_clinic.warn(hint, *, fai... IndexHierarchyGO Accessor Type Clinic Given a hint (a t...
via_type_clinic.__call__(hint, *,... IndexHierarchyGO Accessor Type Clinic Given a hint (a t...
via_type_clinic.__repr__()           IndexHierarchyGO Accessor Type Clinic Return a compact ...
<<U90>                               <<U16>           <<U27>               <<U83>
IndexHierarchyGO.__repr__()

Return repr(self).

>>> ih = sf.IndexHierarchyGO.from_labels((('a', 1024, '1517-04-01'), ('a', 2048, '1789-12-31'), ('b', 0, '1620-11-21')), index_constructors=(sf.Index, sf.Index, sf.IndexDate), name=('x', 'y', 'z'))
>>> repr(ih)
<IndexHierarchyGO: ('x', 'y', 'z')>
a                                   1024    1517-04-01
a                                   2048    1789-12-31
b                                   0       1620-11-21
<<U1>                               <int64> <datetime64[D]>
IndexHierarchyGO.__str__()

Return str(self).

>>> ih = sf.IndexHierarchyGO.from_labels((('a', 1024, '1517-04-01'), ('a', 2048, '1789-12-31'), ('b', 0, '1620-11-21')), index_constructors=(sf.Index, sf.Index, sf.IndexDate), name=('x', 'y', 'z'))
>>> str(ih)
<IndexHierarchyGO: ('x', 'y', 'z')>
a                                   1024    1517-04-01
a                                   2048    1789-12-31
b                                   0       1620-11-21
<<U1>                               <int64> <datetime64[D]>
IndexHierarchyGO.display(config=None, *, style_config=None)

Return a static_frame.Display, capable of providing a string representation.

Parameters:

config – A static_frame.DisplayConfig instance. If not provided, the static_frame.DisplayActive will be used.

>>> ih = sf.IndexHierarchyGO.from_labels((('a', 1024, '1517-04-01'), ('a', 2048, '1789-12-31'), ('b', 0, '1620-11-21')), index_constructors=(sf.Index, sf.Index, sf.IndexDate), name=('x', 'y', 'z'))
>>> ih.display()
<IndexHierarchyGO: ('x', 'y', 'z')>
a                                   1024    1517-04-01
a                                   2048    1789-12-31
b                                   0       1620-11-21
<<U1>                               <int64> <datetime64[D]>
>>> ih.display(sf.DisplayConfig(type_show=False))
a 1024 1517-04-01
a 2048 1789-12-31
b 0    1620-11-21
IndexHierarchyGO.display_tall(config=None)

Maximize vertical presentation. Return a static_frame.Display, capable of providing a string representation.

Parameters:

config – A static_frame.DisplayConfig instance. If not provided, the static_frame.DisplayActive will be used.

>>> ih = sf.IndexHierarchyGO.from_labels((('a', 1024, '1517-04-01'), ('a', 2048, '1789-12-31'), ('b', 0, '1620-11-21')), index_constructors=(sf.Index, sf.Index, sf.IndexDate), name=('x', 'y', 'z'))
>>> ih.display_tall()
<IndexHierarchyGO: ('x', 'y', 'z')>
a                                   1024    1517-04-01
a                                   2048    1789-12-31
b                                   0       1620-11-21
<<U1>                               <int64> <datetime64[D]>
IndexHierarchyGO.display_wide(config=None)

Maximize horizontal presentation. Return a static_frame.Display, capable of providing a string representation.

Parameters:

config – A static_frame.DisplayConfig instance. If not provided, the static_frame.DisplayActive will be used.

>>> ih = sf.IndexHierarchyGO.from_labels((('a', 1024, '1517-04-01'), ('a', 2048, '1789-12-31'), ('b', 0, '1620-11-21')), index_constructors=(sf.Index, sf.Index, sf.IndexDate), name=('x', 'y', 'z'))
>>> ih.display_wide()
<IndexHierarchyGO: ('x', 'y', 'z')>
a                                   1024    1517-04-01
a                                   2048    1789-12-31
b                                   0       1620-11-21
<<U1>                               <int64> <datetime64[D]>

IndexHierarchyGO: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Transpose | Accessor Regular Expression | Accessor Hashlib | Accessor Type Clinic