Page MenuHomeSolus

Update python-pandas to 0.24.2
ClosedPublic

Authored by maverick1 on Apr 28 2019, 3:19 PM.

Details

Summary

Update pandas to 0.24.2. This is a major release from 0.23.4 and includes a number of API changes, new
features, enhancements, and performance improvements along with a large number
of bug fixes.
Changes

  • Optional Nullable Integer Support
  • New APIs for accessing the array backing a Series or Index
  • A new top-level pandas.array() method for creating arrays
  • Store Interval and Period data in a Series or DataFrame
  • Joining with two MultiIndexes
Test Plan

Imported pandas, create dataframes and did some operations on them.

Diff Detail

Repository
R3710 python-pandas
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

maverick1 created this revision.Apr 28 2019, 3:19 PM
maverick1 requested review of this revision.Apr 28 2019, 3:19 PM
JoshStrobl requested changes to this revision.May 1 2019, 12:44 PM
JoshStrobl added a subscriber: JoshStrobl.

Also your use of 80 column in the changelog is evil and should be fixed.

package.yml
16

Should not be removed. python-pandas explicitly requires numpy and it's unknown whether or not it'll always stay around in the other python libraries this requires: https://github.com/pandas-dev/pandas/blob/f54945ea0678742c4785b0e88a2fa99f62cafa49/pandas/core/arrays/array_.py#L3

This revision now requires changes to proceed.May 1 2019, 12:44 PM

Should I add the dependency explicitly too?

package.yml
16

Numpy is dependency to python-bottleneck and python-numexpr, so I removed it.

JoshStrobl added inline comments.May 1 2019, 1:44 PM
package.yml
16

Ehhh, fair enough. Let's keep an eye on this though to make sure its rundeps don't get it removed.

maverick1 added inline comments.May 1 2019, 1:46 PM
package.yml
16

Sure!

maverick1 marked 2 inline comments as done.May 18 2019, 6:44 AM
DataDrake accepted this revision.May 20 2019, 11:19 PM
DataDrake added a subscriber: DataDrake.

LGTM. Thanks!

This revision was not accepted when it landed; it landed in state Needs Revision.May 20 2019, 11:37 PM
This revision was automatically updated to reflect the committed changes.