Commits


Joris Van den Bossche authored and Wes McKinney committed 9736d3cd1a4
ARROW-6556: [Python] Fix warning for pandas SparseDataFrame removal Follow-up on https://issues.apache.org/jira/browse/ARROW-6556 / https://github.com/apache/arrow/pull/5377. We were a bit fast with merging the other PR, as pandas changed the removal slightly (it added back a dummy SparseDataFrame object which triggers a warning upon access, but this means that `hasattr(pd, 'SparseDataFrame)` or try/except on import is not a good check to know if the actual class still exists or not). Using pytests warnings filter I now ensure no such warning is raised in our test suite. Closes #5438 from jorisvandenbossche/ARROW-6556-fix-warning and squashes the following commits: 06a073806 <Joris Van den Bossche> ARROW-6556: Fix warning for pandas SparseDataFrame removal Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Wes McKinney <wesm+git@apache.org>