Detail: Quilt: Display#

Overview: Quilt: Display

Quilt.interface#

A Frame documenting the interface of this class.

>>> q = sf.Quilt.from_frame(sf.Frame.from_fields(((10, 2, 8, 3), (False, True, True, False), ('1517-01-01', '1517-04-01', '1517-12-31', '1517-06-30')), columns=('a', 'b', 'c'), dtypes=dict(c=np.datetime64), name='x'), retain_labels=True, chunksize=2, label_extractor=lambda x: str(x.iloc[0]))
>>> q
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<<U1>
>>> q.interface
<Frame>
<Index>                              cls_name group                doc                  <<U18>
<Index: signature>
__init__(bus, /, *, axis, retain_... Quilt    Constructor          Args: bus: Bus of...
from_frame(frame, /, *, chunksize... Quilt    Constructor          Given a Frame, cr...
from_frames(frames, /, *, axis, n... Quilt    Constructor          Return a Quilt fr...
from_items(items, /, *, axis, nam... Quilt    Constructor          Given an iterable...
from_sqlite(fp, /, *, config, axi... Quilt    Constructor          Given a file path...
from_xlsx(fp, /, *, config, axis,... Quilt    Constructor          Given a file path...
from_zip_csv(fp, /, *, config, ax... Quilt    Constructor          Given a file path...
from_zip_npy(fp, /, *, config, ax... Quilt    Constructor          Given a file path...
from_zip_npz(fp, /, *, config, ax... Quilt    Constructor          Given a file path...
from_zip_parquet(fp, /, *, config... Quilt    Constructor          Given a file path...
from_zip_pickle(fp, /, *, config,... Quilt    Constructor          Given a file path...
from_zip_tsv(fp, /, *, config, ax... Quilt    Constructor          Given a file path...
to_frame()                           Quilt    Exporter             Return a consolid...
to_sqlite(fp, /, *, config)          Quilt    Exporter             Write the complet...
to_visidata()                        Quilt    Exporter             Open an interacti...
to_xlsx(fp, /, *, config)            Quilt    Exporter             Write the complet...
to_zip_csv(fp, /, *, config, comp... Quilt    Exporter             Write the complet...
...                                  ...      ...                  ...
iter_window_items(*, size, axis, ... Quilt    Iterator             Apply a function ...
iter_window_items(*, size, axis, ... Quilt    Iterator             Apply a function ...
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib     Return the byte s...
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_hashlib(*, include_name, incl... Quilt    Accessor Hashlib
via_type_clinic.to_hint()            Quilt    Accessor Type Clinic Return the type h...
via_type_clinic.check(hint, /, *,... Quilt    Accessor Type Clinic Given a hint (a t...
via_type_clinic.warn(hint, /, *, ... Quilt    Accessor Type Clinic Given a hint (a t...
via_type_clinic.__call__(hint, /,... Quilt    Accessor Type Clinic Given a hint (a t...
via_type_clinic.__repr__()           Quilt    Accessor Type Clinic Return a compact ...
<<U93>                               <<U5>    <<U20>               <<U83>
Quilt.__repr__()#

Return repr(self).

>>> q = sf.Quilt.from_frame(sf.Frame.from_fields(((10, 2, 8, 3), (False, True, True, False), ('1517-01-01', '1517-04-01', '1517-12-31', '1517-06-30')), columns=('a', 'b', 'c'), dtypes=dict(c=np.datetime64), name='x'), retain_labels=True, chunksize=2, label_extractor=lambda x: str(x.iloc[0]))
>>> repr(q)
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<<U1>
Quilt.__str__()#

Return str(self).

>>> q = sf.Quilt.from_frame(sf.Frame.from_fields(((10, 2, 8, 3), (False, True, True, False), ('1517-01-01', '1517-04-01', '1517-12-31', '1517-06-30')), columns=('a', 'b', 'c'), dtypes=dict(c=np.datetime64), name='x'), retain_labels=True, chunksize=2, label_extractor=lambda x: str(x.iloc[0]))
>>> str(q)
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<<U1>
Quilt.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.

>>> q = sf.Quilt.from_frame(sf.Frame.from_fields(((10, 2, 8, 3), (False, True, True, False), ('1517-01-01', '1517-04-01', '1517-12-31', '1517-06-30')), columns=('a', 'b', 'c'), dtypes=dict(c=np.datetime64), name='x'), retain_labels=True, chunksize=2, label_extractor=lambda x: str(x.iloc[0]))
>>> q.display()
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<<U1>
>>> q.display(sf.DisplayConfig(type_show=False))
  a b c
0 . . .
2 . . .
Quilt.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.

>>> q = sf.Quilt.from_frame(sf.Frame.from_fields(((10, 2, 8, 3), (False, True, True, False), ('1517-01-01', '1517-04-01', '1517-12-31', '1517-06-30')), columns=('a', 'b', 'c'), dtypes=dict(c=np.datetime64), name='x'), retain_labels=True, chunksize=2, label_extractor=lambda x: str(x.iloc[0]))
>>> q.display_tall()
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<<U1>
Quilt.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.

>>> q = sf.Quilt.from_frame(sf.Frame.from_fields(((10, 2, 8, 3), (False, True, True, False), ('1517-01-01', '1517-04-01', '1517-12-31', '1517-06-30')), columns=('a', 'b', 'c'), dtypes=dict(c=np.datetime64), name='x'), retain_labels=True, chunksize=2, label_extractor=lambda x: str(x.iloc[0]))
>>> q.display_wide()
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<<U1>

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