Skip to content

Pin blosc to 1.14.3 for travis-27 build #22429

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

Merged
merged 5 commits into from
Aug 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ci/travis-27.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dependencies:
- PyCrypto
- pymysql=0.6.3
- pytables
- blosc=1.14.3
- python-blosc
- python-dateutil=2.5.0
- python=2.7*
Expand Down
4 changes: 2 additions & 2 deletions pandas/tests/extension/integer/test_integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ def test_groupby_mean_included():
df = pd.DataFrame({
"A": ['a', 'b', 'b'],
"B": [1, None, 3],
"C": IntegerArray([1, None, 3], dtype='Int64'),
Copy link
Member

Choose a reason for hiding this comment

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

I would do this in a separate PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Keeping it here, now that we know that the doc PR isn't related.

"C": integer_array([1, None, 3], dtype='Int64'),
})

result = df.groupby("A").sum()
Expand All @@ -784,7 +784,7 @@ def test_groupby_mean_included():

def test_astype_nansafe():
# https://github.com/pandas-dev/pandas/pull/22343
arr = IntegerArray([np.nan, 1, 2], dtype="Int8")
arr = integer_array([np.nan, 1, 2], dtype="Int8")

with tm.assert_raises_regex(
ValueError, 'cannot convert float NaN to integer'):
Expand Down
6 changes: 3 additions & 3 deletions pandas/tests/frame/test_block_internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from pandas import (DataFrame, Series, Timestamp, date_range, compat,
option_context, Categorical)
from pandas.core.arrays import IntegerArray, IntervalArray
from pandas.core.arrays import IntervalArray, integer_array
from pandas.compat import StringIO
import pandas as pd

Expand Down Expand Up @@ -440,9 +440,9 @@ def test_get_numeric_data(self):
def test_get_numeric_data_extension_dtype(self):
# GH 22290
df = DataFrame({
'A': IntegerArray([-10, np.nan, 0, 10, 20, 30], dtype='Int64'),
'A': integer_array([-10, np.nan, 0, 10, 20, 30], dtype='Int64'),
'B': Categorical(list('abcabc')),
'C': IntegerArray([0, 1, 2, 3, np.nan, 5], dtype='UInt8'),
'C': integer_array([0, 1, 2, 3, np.nan, 5], dtype='UInt8'),
'D': IntervalArray.from_breaks(range(7))})
result = df._get_numeric_data()
expected = df.loc[:, ['A', 'C']]
Expand Down