Skip to content

Commit

Permalink
Update docs to pandas 2.0 conventions (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored May 19, 2023
1 parent 449b77c commit d6d06db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyam/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def time(self):
Returns
-------
- A :class:`pandas.Int64Index` if the :attr:`time_domain` is 'year'
- A :class:`pandas.Index` (dtype 'int64') if the :attr:`time_domain` is 'year'
- A :class:`pandas.DatetimeIndex` if the :attr:`time_domain` is 'datetime'
- A :class:`pandas.Index` if the :attr:`time_domain` is 'mixed'
"""
Expand Down
2 changes: 1 addition & 1 deletion pyam/slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def time(self):
Returns
-------
- A :class:`pandas.Int64Index` if the time-domain is 'year'
- A :class:`pandas.Index` (dtype 'int64') if the :attr:`time_domain` is 'year'
- A :class:`pandas.DatetimeIndex` if the time-domain is 'datetime'
- A :class:`pandas.Index` if the time-domain is 'mixed'
"""
Expand Down

0 comments on commit d6d06db

Please sign in to comment.