Skip to content

Add fill_value option to reindex #784

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

Closed
wesm opened this issue Feb 15, 2012 · 2 comments
Closed

Add fill_value option to reindex #784

wesm opened this issue Feb 15, 2012 · 2 comments
Milestone

Comments

@wesm
Copy link
Member

wesm commented Feb 15, 2012

Currently missing values are filled with NA. It should be NA by default, but you might want it to be zero in some cases, too

@timmie
Copy link
Contributor

timmie commented Feb 27, 2012

Is this the same as:
http://pytseries.sourceforge.net/generated/scikits.timeseries.TimeSeries.fill_value.html?highlight=fill_value#scikits.timeseries.TimeSeries.fill_value

I think we could have a list where we map these kind of overlap/correspondance to timeseries.

@wesm
Copy link
Member Author

wesm commented Feb 27, 2012

Similar. That's part of the masked array interface. This allows you to
"fill with 0" versus "fill with NA" when reindexing

Sent from my mobile device

On Feb 27, 2012, at 5:11 PM, timmie
[email protected]
wrote:

Is this the same as:
http://pytseries.sourceforge.net/generated/scikits.timeseries.TimeSeries.fill_value.html?highlight=fill_value#scikits.timeseries.TimeSeries.fill_value

I think we could have a list where we map these kind of overlap/correspondance to timeseries.


Reply to this email directly or view it on GitHub:
#784 (comment)

wesm added a commit that referenced this issue Feb 28, 2012
@wesm wesm closed this as completed Feb 28, 2012
yarikoptic added a commit to neurodebian/pandas that referenced this issue Mar 2, 2012
* commit 'v0.7.1-1-ga2e86c2': (90 commits)
  BUG: Fix Series, DataFrame plot() for non numerical/datetime (Multi)Index (closes pandas-dev#741).
  RLS: Version 0.7.1
  DOC: release notes, what's new, change dev version to 0.7.1
  BUG: close pandas-dev#839, another case where nan may be assigned to int series
  ENH: raise NotImplementedError if user tries to iterate over .ix, GH pandas-dev#840
  BUG: fixed null-check per pandas-dev#839
  BUG: close pandas-dev#839, exception on assigning NA to bool or int64 series
  TST: more test coverage for release target
  TST: added core coverage
  TST: fix lingering line of code from pandas-dev#838
  DOC: added yet a bit more to release notes
  TST: unit test for pandas-dev#838
  DOC: added more release notes
  BUG: raise more helpful error msg for pandas-dev#835
  TST: added skip excel test for no xlrd installed
  BUG: close pandas-dev#835, add option to suppress index inference
  BUG: close pandas-dev#837, excelfile throws an exception for two-line file
  ENH: fill_value arg in DataFrame.reindex/reindex_axis, add fillna to sparse objects, GH pandas-dev#784
  ENH: add fill_value argument to Series.reindex, DataFrame next, pandas-dev#784
  ENH: concat Series with axis=1 for completeness, GH pandas-dev#787
  ...
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
Update info log message in exception handler in chunkstore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants