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

Comments

Projects
None yet
2 participants
@sinhrks
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 changed the title from EHN: Add Index.fillna to ENH: Add Index.fillna May 9, 2015

@jreback jreback added this to the Next Major Release milestone May 9, 2015

@jreback

This comment has been minimized.

Show comment
Hide comment
@jreback

jreback Aug 15, 2015

Contributor

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.

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

This comment has been minimized.

Show comment
Hide comment
@jreback

jreback Oct 13, 2015

Contributor

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

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