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)
>>> q.interface
<Frame>
<Index>                              cls_name group            doc                  <<U18>
<Index: signature>
__init__(bus, *, axis, retain_lab... Quilt    Constructor      Args: bus: Bus of...
from_frame(frame, *, chunksize, r... Quilt    Constructor      Given a Frame, cr...
from_frames(frames, *, axis, name... Quilt    Constructor      Return a Quilt fr...
from_hdf5(fp, *, config, axis, ...)  Quilt    Constructor      Given a file path...
from_items(items, *, axis, name, ... Quilt    Constructor      Given an iterable...
from_sqlite(fp, *, config, axis, ... Quilt    Constructor      Given a file path...
from_xlsx(fp, *, config, axis, ...)  Quilt    Constructor      Given a file path...
from_zip_csv(fp, *, config, axis,... Quilt    Constructor      Given a file path...
from_zip_npy(fp, *, config, axis,... Quilt    Constructor      Given a file path...
from_zip_npz(fp, *, config, axis,... Quilt    Constructor      Given a file path...
from_zip_parquet(fp, *, config, a... Quilt    Constructor      Given a file path...
from_zip_pickle(fp, *, config, ax... Quilt    Constructor      Given a file path...
from_zip_tsv(fp, *, config, axis,... Quilt    Constructor      Given a file path...
to_frame()                           Quilt    Exporter         Return a consolid...
to_hdf5(fp, *, config)               Quilt    Exporter         Write the complet...
to_sqlite(fp, *, config)             Quilt    Exporter         Write the complet...
to_visidata()                        Quilt    Exporter         Open an interacti...
...                                  ...      ...              ...
iter_window_array_items(*, size, ... Quilt    Iterator         Apply a function ...
iter_window_array_items(*, size, ... Quilt    Iterator         Apply a function ...
iter_window_items(*, size, axis, ... Quilt    Iterator         Iterator of pairs...
iter_window_items(*, size, axis, ... Quilt    Iterator         Apply a function ...
iter_window_items(*, size, axis, ... Quilt    Iterator         Apply a function ...
iter_window_items(*, size, axis, ... Quilt    Iterator         Apply a function ...
iter_window_items(*, size, axis, ... Quilt    Iterator         Apply a function ...
via_hashlib(include_name, include... Quilt    Accessor Hashlib Return the byte s...
via_hashlib(include_name, include... Quilt    Accessor Hashlib
via_hashlib(include_name, include... Quilt    Accessor Hashlib
via_hashlib(include_name, include... Quilt    Accessor Hashlib
via_hashlib(include_name, include... Quilt    Accessor Hashlib
via_hashlib(include_name, include... Quilt    Accessor Hashlib
via_hashlib(include_name, include... Quilt    Accessor Hashlib
via_hashlib(include_name, include... Quilt    Accessor Hashlib
via_hashlib(include_name, include... Quilt    Accessor Hashlib
via_hashlib(include_name, include... Quilt    Accessor Hashlib
<<U90>                               <<U5>    <<U16>           <<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)
>>> repr(q)
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<int64>
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)
>>> str(q)
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<int64>
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)
>>> q.display()
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<int64>
>>> 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)
>>> q.display_tall()
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<int64>
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)
>>> q.display_wide()
<Quilt: x>
<Index: Aligned> a b c <<U1>
<Index: Frames>
0                . . .
2                . . .
<int64>

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