Detail: IndexYear: Display#

Overview: IndexYear: Display

IndexYear.interface#

A Frame documenting the interface of this class.

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

Return repr(self).

>>> ix = sf.IndexYear(('1620', 'NaT', '1619'))
>>> repr(ix)
<IndexYear>
1620
NaT
1619
<datetime64[Y]>
IndexYear.__str__()#

Return str(self).

>>> ix = sf.IndexYear(('1620', 'NaT', '1619'))
>>> str(ix)
<IndexYear>
1620
NaT
1619
<datetime64[Y]>
IndexYear.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.IndexYear(('1620', 'NaT', '1619'))
>>> ix.display()
<IndexYear>
1620
NaT
1619
<datetime64[Y]>
>>> ix.display(sf.DisplayConfig(type_show=False))
1620
NaT
1619
IndexYear.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.IndexYear(('1620', 'NaT', '1619'))
>>> ix.display_tall()
<IndexYear>
1620
NaT
1619
<datetime64[Y]>
IndexYear.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.IndexYear(('1620', 'NaT', '1619'))
>>> ix.display_wide()
<IndexYear>
1620
NaT
1619
<datetime64[Y]>

IndexYear: 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