-
- Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
32bit32-bit systems32-bit systemsCIContinuous IntegrationContinuous IntegrationWindowrolling, ewma, expandingrolling, ewma, expanding
Milestone
Description
def test_consistency_with_window(): # consistent return values with window df = test_frame index_array = self.index_array indexer = self.rolling_indexer( index_array=index_array, window_size=self.window_size, ) start, end = indexer.get_window_bounds( len(indicies), min_periods, center, closed ) start = start.astype(np.int64) end = end.astype(np.int64) # Cannot use groupby_indicies as they might not be monotonic with the object # we're rolling over window_indicies = np.arange( window_indicies_start, window_indicies_start + len(indicies), ) window_indicies_start += len(indicies) # Extend as we'll be slicing window like [start, end) window_indicies = np.append( window_indicies, [window_indicies[-1] + 1] ).astype(np.int64) > start_arrays.append(window_indicies.take(start)) E TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe' test_venv\lib\site-packages\pandas\core\window\indexers.py:318: TypeErrorcc @mroeschke if you know where to look / who to ping. I haven't looked yet.
Metadata
Metadata
Assignees
Labels
32bit32-bit systems32-bit systemsCIContinuous IntegrationContinuous IntegrationWindowrolling, ewma, expandingrolling, ewma, expanding