The IamSlice class¶
- class pyam.slice.IamSlice(data=None, index=None, **kwargs)[source]¶
A slice object of the IamDataFrame timeseries data index
- Attributes:
dimensions
Return the list of index names & data coordinates
time
The time index, i.e., axis labels related to the time domain.
Methods
info
([n])Print a summary of the represented index dimensions and data coordinates
- property dimensions¶
Return the list of index names & data coordinates
- info(n=80)[source]¶
Print a summary of the represented index dimensions and data coordinates
- Parameters:
- nint
The maximum line length
- property time¶
The time index, i.e., axis labels related to the time domain.
- Returns:
- A
pandas.Index
(dtype ‘int64’) if thetime_domain
is ‘year’
- A
- A
pandas.DatetimeIndex
if the time-domain is ‘datetime’
- A
- A
pandas.Index
if the time-domain is ‘mixed’
- A