Detail: Frame: Display

Overview: Frame: Display

Frame.interface

A Frame documenting the interface of this class.

>>> f = 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')
>>> f
<Frame: x>
<Index>    a       b      c               <<U1>
<Index>
0          10      False  1517-01-01
1          2       True   1517-04-01
2          8       True   1517-12-31
3          3       False  1517-06-30
<int64>    <int64> <bool> <datetime64[D]>
>>> f.interface
<Frame>
<Index>                              cls_name group                doc                  <<U18>
<Index: signature>
__init__(data, *, index, columns,... Frame    Constructor          Initializer. Args...
from_arrow(value, *, index_depth,... Frame    Constructor          Realize a Frame f...
from_clipboard(*, delimiter, inde... Frame    Constructor          Create a Frame fr...
from_concat(frames, *, axis, unio... Frame    Constructor          Concatenate multi...
from_concat_items(items, *, axis,... Frame    Constructor          Produce a Frame w...
from_csv(fp, *, index_depth, inde... Frame    Constructor          Specialized versi...
from_delimited(fp, *, delimiter, ... Frame    Constructor          Create a Frame fr...
from_dict(mapping, *, index, fill... Frame    Constructor          Create a Frame fr...
from_dict_fields(fields, *, colum... Frame    Constructor          Frame constructor...
from_dict_records(records, *, ind... Frame    Constructor          Frame constructor...
from_dict_records_items(items, *,... Frame    Constructor          Frame constructor...
from_element(element, *, index, c... Frame    Constructor          Create a Frame fr...
from_element_items(items, *, inde... Frame    Constructor          Create a Frame fr...
from_elements(elements, *, index,... Frame    Constructor          Create a Frame fr...
from_fields(fields, *, index, col... Frame    Constructor          Frame constructor...
from_hdf5(fp, *, label, index_dep... Frame    Constructor          Load Frame from t...
from_items(pairs, *, index, fill_... Frame    Constructor          Frame constructor...
...                                  ...      ...                  ...
via_re(pattern, flags).sub(repl, ... Frame    Accessor Regular ... Return the string...
via_re(pattern, flags).subn(repl,... Frame    Accessor Regular ... Perform the same ...
via_hashlib(include_name, include... Frame    Accessor Hashlib     Return the byte s...
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_hashlib(include_name, include... Frame    Accessor Hashlib
via_type_clinic.to_hint()            Frame    Accessor Type Clinic Return the type h...
via_type_clinic.check(hint, *, fa... Frame    Accessor Type Clinic Given a hint (a t...
via_type_clinic.warn(hint, *, fai... Frame    Accessor Type Clinic Given a hint (a t...
via_type_clinic.__call__(hint, *,... Frame    Accessor Type Clinic Given a hint (a t...
via_type_clinic.__repr__()           Frame    Accessor Type Clinic Return a compact ...
<<U94>                               <<U5>    <<U27>               <<U83>
Frame.__repr__()

Return repr(self).

>>> f = 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')
>>> repr(f)
<Frame: x>
<Index>    a       b      c               <<U1>
<Index>
0          10      False  1517-01-01
1          2       True   1517-04-01
2          8       True   1517-12-31
3          3       False  1517-06-30
<int64>    <int64> <bool> <datetime64[D]>
Frame.__str__()

Return str(self).

>>> f = 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')
>>> str(f)
<Frame: x>
<Index>    a       b      c               <<U1>
<Index>
0          10      False  1517-01-01
1          2       True   1517-04-01
2          8       True   1517-12-31
3          3       False  1517-06-30
<int64>    <int64> <bool> <datetime64[D]>
Frame.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.

>>> f = 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')
>>> f.display()
<Frame: x>
<Index>    a       b      c               <<U1>
<Index>
0          10      False  1517-01-01
1          2       True   1517-04-01
2          8       True   1517-12-31
3          3       False  1517-06-30
<int64>    <int64> <bool> <datetime64[D]>
>>> f.display(sf.DisplayConfig(type_show=False))
  a  b     c
0 10 False 1517-01-01
1 2  True  1517-04-01
2 8  True  1517-12-31
3 3  False 1517-06-30
Frame.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.

>>> f = 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')
>>> f.display_tall()
<Frame: x>
<Index>    a       b      c               <<U1>
<Index>
0          10      False  1517-01-01
1          2       True   1517-04-01
2          8       True   1517-12-31
3          3       False  1517-06-30
<int64>    <int64> <bool> <datetime64[D]>
Frame.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.

>>> f = 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')
>>> f.display_wide()
<Frame: x>
<Index>    a       b      c               <<U1>
<Index>
0          10      False  1517-01-01
1          2       True   1517-04-01
2          8       True   1517-12-31
3          3       False  1517-06-30
<int64>    <int64> <bool> <datetime64[D]>

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