REF: Implement CFTimeIndex via pandas ExtensionArray
Open
Nobody has claimed this yet.
enhancement
topic-cftime
topic-indexing
- Dominant language
- Python
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 14
Description
With pandas#43930 merged, arbitrary ExtensionArrays will be stored directly in a pd.Index, (hopefully) obviating the need for an Index subclass.
The suggestion here is to implement a CFTimeExtensionArray, and once minimum-supported-versions catch up, deprecate CFTimeIndex.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing CFTimeIndex implementation and pandas#43930 to understand the ExtensionArray storage model. Determine the required CFTimeExtensionArray behavior and the minimum-supported-version constraint; done means the extension array is implemented and CFTimeIndex can be deprecated when those versions permit it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100