Skip to content

Commit

Permalink
BUG: use Cython skiplist because C one has a segfault-y issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Jan 5, 2012
1 parent 2366982 commit a40226e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/stats/moments.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def call_cython(arg, window, minp):
rolling_min = _rolling_func(_tseries.roll_min, 'Moving minimum')
rolling_sum = _rolling_func(_tseries.roll_sum, 'Moving sum')
rolling_mean = _rolling_func(_tseries.roll_mean, 'Moving mean')
rolling_median = _rolling_func(_tseries.roll_median_c, 'Moving median')
rolling_median = _rolling_func(_tseries.roll_median_cython, 'Moving median')

_ts_std = lambda *a, **kw: np.sqrt(_tseries.roll_var(*a, **kw))
rolling_std = _rolling_func(_ts_std, 'Unbiased moving standard deviation',
Expand Down

0 comments on commit a40226e

Please sign in to comment.