Skip to content

API: Closes #7879: (drops not nan in panel.to_frame() by default) #10908

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
wants to merge 1 commit into from

Conversation

hensing
Copy link

@hensing hensing commented Aug 26, 2015

closes #7879 by changing API (filter_observations=True now deprecated and replaced with dropna=False)

@hensing hensing force-pushed the panel_to_frame_fix branch from ba83a39 to cee665d Compare August 26, 2015 20:12
@hensing hensing changed the title FIX: Closes #7879: (drops not nan in panel.to_frame() by default) API: Closes #7879: (drops not nan in panel.to_frame() by default) Aug 26, 2015
@@ -867,7 +868,7 @@ def to_frame(self, filter_observations=True):

Parameters
----------
filter_observations : boolean, default True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leave this in (and say its deprecated)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok - will add it

@jreback jreback added Reshaping Concat, Merge/Join, Stack/Unstack, Explode API Design labels Aug 28, 2015
@jreback
Copy link
Contributor

jreback commented Aug 28, 2015

this will need a sub-section in whatsnew/0.17.0. showing what the original behavior is and what the new is.

@jreback
Copy link
Contributor

jreback commented Sep 1, 2015

can you update according to comments

@jreback jreback modified the milestones: 0.17.0, Next Major Release Sep 2, 2015
@hensing
Copy link
Author

hensing commented Sep 8, 2015

@jreback: updated the commit according to your comments!

@jreback
Copy link
Contributor

jreback commented Sep 8, 2015

  • need a test for the deprecation itself.
  • need a separate sub-section in the whatsnew explaining this change

@hensing hensing force-pushed the panel_to_frame_fix branch 2 times, most recently from 05bf61e to 5f9e49a Compare September 13, 2015 18:29
@hensing
Copy link
Author

hensing commented Sep 13, 2015

added/fixed tests and added sub-section

@@ -63,6 +63,7 @@ Highlights include:
- Development support for benchmarking with the `Air Speed Velocity library <https://github.com/spacetelescope/asv/>`_ (:issue:`8316`)
- Support for reading SAS xport files, see :ref:`here <whatsnew_0170.enhancements.sas_xport>`
- Removal of the automatic TimeSeries broadcasting, deprecated since 0.8.0, see :ref:`here <whatsnew_0170.prior_deprecations>`
- Deprecated ``filter_observations`` by ``dropna`` in ``Panel.to_frame`` and changed default to ``True`` (:issue:`7879`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this to the whatsnew/v0.17.0 in the deprecation section. This needs an example in a sub-section. Showing the previous usage and the new.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

@jreback jreback modified the milestones: 0.18.0, Next Major Release Oct 25, 2015
@jreback
Copy link
Contributor

jreback commented Oct 25, 2015

this is pushed to 0.18.0 pls update when you can

@jreback
Copy link
Contributor

jreback commented Nov 18, 2015

closing, but if you'd like to update, pls reopen

@jreback jreback closed this Nov 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Design Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panel.to_frame() discards nan by default
2 participants