File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ dependencies:
13
13
- " git+git://github.com/dateutil/dateutil.git"
14
14
- " -f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
15
15
- " --pre"
16
- - " numpy<=1.16.0.dev0+20181015190246 "
16
+ - " numpy"
17
17
- " scipy"
Original file line number Diff line number Diff line change @@ -410,7 +410,9 @@ def first_not_none(values):
410
410
if (isinstance (v .index , MultiIndex ) or
411
411
key_index is None or
412
412
isinstance (key_index , MultiIndex )):
413
- stacked_values = np .vstack (map (np .asarray , values ))
413
+ stacked_values = np .vstack ([
414
+ np .asarray (v ) for v in values
415
+ ])
414
416
result = DataFrame (stacked_values , index = key_index ,
415
417
columns = index )
416
418
else :
@@ -422,7 +424,8 @@ def first_not_none(values):
422
424
axis = self .axis ).unstack ()
423
425
result .columns = index
424
426
else :
425
- stacked_values = np .vstack (map (np .asarray , values ))
427
+ stacked_values = np .vstack ([np .asarray (v )
428
+ for v in values ])
426
429
result = DataFrame (stacked_values .T , index = v .index ,
427
430
columns = key_index )
428
431
Original file line number Diff line number Diff line change @@ -104,8 +104,10 @@ def _skip_if_not_us_locale():
104
104
105
105
106
106
def _skip_if_no_scipy ():
107
- return not (safe_import ('scipy.stats' ) and safe_import ('scipy.sparse' ) and
108
- safe_import ('scipy.interpolate' ))
107
+ return not (safe_import ('scipy.stats' ) and
108
+ safe_import ('scipy.sparse' ) and
109
+ safe_import ('scipy.interpolate' ) and
110
+ safe_import ('scipy.signal' ))
109
111
110
112
111
113
def _skip_if_no_lzma ():
You can’t perform that action at this time.
0 commit comments