altair-viz / vega_datasets

A Python package for online & offline access to vega datasets
MIT License
173 stars 57 forks source link

TST: fix tests for pandas 0.25 #25

Closed jakevdp closed 5 years ago

jakevdp commented 5 years ago

Fixes #24

The issue seems to be linked to changes in how Pandas parses JSON files; columns previously were sorted, now they appear in the same order as in the file. It's not obvious from pandas 0.25 release notes whether this is intentional, but either way this PR makes the tests robust to that.

jakevdp commented 5 years ago

Confirmed that Travis tests are using pandas 0.25, and pass.