Detail: IndexDate: Display#

Overview: IndexDate: Display

IndexDate.interface#

A Frame documenting the interface of this class.

>>> ix = sf.IndexDate(('1620-09-16', 'NaT', '1620-11-21'))
>>> ix
<IndexDate>
1620-09-16
NaT
1620-11-21
<datetime64[D]>
>>> ix.interface
<Frame>
<Index>                              cls_name  group                doc                  <<U18>
<Index: signature>
__init__(labels, /, *, loc_is_iloc,… IndexDate Constructor          Initializer. Args: …
from_date_range(start, stop, step, … IndexDate Constructor          Get an IndexDate in…
from_difference(*others)             IndexDate Constructor          Construct a new Ind…
from_intersection(*others)           IndexDate Constructor          Construct a new Ind…
from_labels(labels, /, *, name)      IndexDate Constructor          Construct an Index …
from_pandas(value, /)                IndexDate Constructor          Given a Pandas inde…
from_union(*others)                  IndexDate Constructor          Construct a new Ind…
from_year_month_range(start, stop, … IndexDate Constructor          Get an IndexDate in…
from_year_range(start, stop, step, … IndexDate Constructor          Get an IndexDate in…
to_html(config, /, *, style_config)  IndexDate Exporter             Return an HTML tabl…
to_html_datatables(fp, /, *, show, … IndexDate Exporter             Return a complete H…
to_pandas()                          IndexDate Exporter             Return a Pandas Ind…
to_series()                          IndexDate Exporter             Return a Series wit…
to_visidata()                        IndexDate Exporter             Open an interactive…
STATIC                               IndexDate Attribute            Returns True when t…
depth                                IndexDate Attribute            int([x]) -> integer…
dtype                                IndexDate Attribute            Return the dtype of…
…                                    …         …                    …
via_re(pattern, flags, /).sub(repl,… IndexDate Accessor Regular Ex… Return the string o…
via_re(pattern, flags, /).subn(repl… IndexDate Accessor Regular Ex… Perform the same op…
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib     Return the byte sig…
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_hashlib(*, include_name, includ… IndexDate Accessor Hashlib
via_type_clinic.to_hint()            IndexDate Accessor Type Clinic Return the type hin…
via_type_clinic.check(hint, /, *, f… IndexDate Accessor Type Clinic Given a hint (a typ…
via_type_clinic.warn(hint, /, *, fa… IndexDate Accessor Type Clinic Given a hint (a typ…
via_type_clinic.__call__(hint, /, *… IndexDate Accessor Type Clinic Given a hint (a typ…
via_type_clinic.__repr__()           IndexDate Accessor Type Clinic Return a compact st…
<<U91>                               <<U9>     <<U27>               <<U81>
IndexDate.__repr__()#

Return repr(self).

>>> ix = sf.IndexDate(('1620-09-16', 'NaT', '1620-11-21'))
>>> repr(ix)
<IndexDate>
1620-09-16
NaT
1620-11-21
<datetime64[D]>
IndexDate.__str__()#

Return str(self).

>>> ix = sf.IndexDate(('1620-09-16', 'NaT', '1620-11-21'))
>>> str(ix)
<IndexDate>
1620-09-16
NaT
1620-11-21
<datetime64[D]>
IndexDate.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.

>>> ix = sf.IndexDate(('1620-09-16', 'NaT', '1620-11-21'))
>>> ix.display()
<IndexDate>
1620-09-16
NaT
1620-11-21
<datetime64[D]>
>>> ix.display(sf.DisplayConfig(type_show=False))
1620-09-16
NaT
1620-11-21
IndexDate.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.

>>> ix = sf.IndexDate(('1620-09-16', 'NaT', '1620-11-21'))
>>> ix.display_tall()
<IndexDate>
1620-09-16
NaT
1620-11-21
<datetime64[D]>
IndexDate.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.

>>> ix = sf.IndexDate(('1620-09-16', 'NaT', '1620-11-21'))
>>> ix.display_wide()
<IndexDate>
1620-09-16
NaT
1620-11-21
<datetime64[D]>

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