Detail: Bus: Display

Overview: Bus: Display

Bus.interface

A Frame documenting the interface of this class.

>>> b = sf.Bus.from_frames((sf.Frame(np.arange(6).reshape(3,2), index=('p', 'q', 'r'), columns=('a', 'b'), name='x'), sf.Frame((np.arange(6).reshape(3,2) % 2).astype(bool), index=('p', 'q', 'r'), columns=('c', 'd'), name='y')), name='i')
>>> b
<Bus: i>
<Index>
x        Frame
y        Frame
<<U1>    <object>
>>> b.interface
<Frame>
<Index>                              cls_name group                doc                  <<U18>
<Index: signature>
__init__(frames, *, index, index_... Bus      Constructor          Default Bus const...
from_concat(containers, *, index,... Bus      Constructor          Concatenate multi...
from_dict(mapping, *, name, index... Bus      Constructor          Bus construction ...
from_frames(frames, *, index_cons... Bus      Constructor          Return a Bus from...
from_hdf5(fp, *, config, max_pers... Bus      Constructor          Given a file path...
from_items(pairs, *, config, name... Bus      Constructor          Return a Bus from...
from_series(series, *, store, con... Bus      Constructor          Create a Bus from...
from_sqlite(fp, *, config, max_pe... Bus      Constructor          Given a file path...
from_xlsx(fp, *, config, max_pers... Bus      Constructor          Given a file path...
from_zip_csv(fp, *, config, max_p... Bus      Constructor          Given a file path...
from_zip_npy(fp, *, config, max_p... Bus      Constructor          Given a file path...
from_zip_npz(fp, *, config, max_p... Bus      Constructor          Given a file path...
from_zip_parquet(fp, *, config, m... Bus      Constructor          Given a file path...
from_zip_pickle(fp, *, config, ma... Bus      Constructor          Given a file path...
from_zip_tsv(fp, *, config, max_p... Bus      Constructor          Given a file path...
to_hdf5(fp, *, config)               Bus      Exporter             Write the complet...
to_series()                          Bus      Exporter             Return a Series w...
...                                  ...      ...                  ...
iter_element_items().apply_iter_i... Bus      Iterator             Apply a function ...
iter_element_items().apply_pool(f... Bus      Iterator             Apply a function ...
via_hashlib(include_name, include... Bus      Accessor Hashlib     Return the byte s...
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_hashlib(include_name, include... Bus      Accessor Hashlib
via_type_clinic.to_hint()            Bus      Accessor Type Clinic Return the type h...
via_type_clinic.check(hint, *, fa... Bus      Accessor Type Clinic Given a hint (a t...
via_type_clinic.warn(hint, *, fai... Bus      Accessor Type Clinic Given a hint (a t...
via_type_clinic.__call__(hint, *,... Bus      Accessor Type Clinic Given a hint (a t...
via_type_clinic.__repr__()           Bus      Accessor Type Clinic Return a compact ...
<<U90>                               <<U3>    <<U20>               <<U83>
Bus.__repr__()

Return repr(self).

>>> b = sf.Bus.from_frames((sf.Frame(np.arange(6).reshape(3,2), index=('p', 'q', 'r'), columns=('a', 'b'), name='x'), sf.Frame((np.arange(6).reshape(3,2) % 2).astype(bool), index=('p', 'q', 'r'), columns=('c', 'd'), name='y')), name='i')
>>> repr(b)
<Bus: i>
<Index>
x        Frame
y        Frame
<<U1>    <object>
Bus.__str__()

Return str(self).

>>> b = sf.Bus.from_frames((sf.Frame(np.arange(6).reshape(3,2), index=('p', 'q', 'r'), columns=('a', 'b'), name='x'), sf.Frame((np.arange(6).reshape(3,2) % 2).astype(bool), index=('p', 'q', 'r'), columns=('c', 'd'), name='y')), name='i')
>>> str(b)
<Bus: i>
<Index>
x        Frame
y        Frame
<<U1>    <object>
Bus.display(config=None, *, style_config=None)[source]

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.

>>> b = sf.Bus.from_frames((sf.Frame(np.arange(6).reshape(3,2), index=('p', 'q', 'r'), columns=('a', 'b'), name='x'), sf.Frame((np.arange(6).reshape(3,2) % 2).astype(bool), index=('p', 'q', 'r'), columns=('c', 'd'), name='y')), name='i')
>>> b.display()
<Bus: i>
<Index>
x        Frame
y        Frame
<<U1>    <object>
>>> b.display(sf.DisplayConfig(type_show=False))
x Frame
y Frame
Bus.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.

>>> b = sf.Bus.from_frames((sf.Frame(np.arange(6).reshape(3,2), index=('p', 'q', 'r'), columns=('a', 'b'), name='x'), sf.Frame((np.arange(6).reshape(3,2) % 2).astype(bool), index=('p', 'q', 'r'), columns=('c', 'd'), name='y')), name='i')
>>> b.display_tall()
<Bus: i>
<Index>
x        Frame
y        Frame
<<U1>    <object>
Bus.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.

>>> b = sf.Bus.from_frames((sf.Frame(np.arange(6).reshape(3,2), index=('p', 'q', 'r'), columns=('a', 'b'), name='x'), sf.Frame((np.arange(6).reshape(3,2) % 2).astype(bool), index=('p', 'q', 'r'), columns=('c', 'd'), name='y')), name='i')
>>> b.display_wide()
<Bus: i>
<Index>
x        Frame
y        Frame
<<U1>    <object>

Bus: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Accessor Hashlib | Accessor Type Clinic