Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add Index.fillna #10089

Closed
sinhrks opened this issue May 9, 2015 · 2 comments
Closed

ENH: Add Index.fillna #10089

sinhrks opened this issue May 9, 2015 · 2 comments
Labels
Enhancement Indexing Related to indexing on series/frames, not to indexes themselves Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Milestone

Comments

@sinhrks
Copy link
Member

sinhrks commented May 9, 2015

Related to #6194. There seems no direct way to replace NaNs in Index?

I think a point is what types are acceptable via value.

@sinhrks sinhrks added Enhancement Indexing Related to indexing on series/frames, not to indexes themselves Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate labels May 9, 2015
@sinhrks sinhrks changed the title EHN: Add Index.fillna ENH: Add Index.fillna May 9, 2015
@jreback jreback added this to the Next Major Release milestone May 9, 2015
@jreback
Copy link
Contributor

jreback commented Aug 15, 2015

this should be a simple version, maybe with just value. the methods are already implemented via .reindex (e.g. pad/bfill/nearest). Don't need much functionanilty here (and in .dropna) but to fill (drop) the correct nan (NaT) type for that index and return a new one. This is actually a pretty simple method.

@jreback
Copy link
Contributor

jreback commented Oct 13, 2015

@sinhrks I think this is a preqreq for some other PR's.

@jreback jreback modified the milestones: 0.17.1, Next Major Release Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Indexing Related to indexing on series/frames, not to indexes themselves Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Projects
None yet
Development

No branches or pull requests

2 participants