A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/8667 below:

Slicing timeseries with over 1000000 entries with time fails · Issue #8667 · pandas-dev/pandas · GitHub

Slicing a timeseries with time results in a TypeError if the timeseries contains over 1,000,000 entries.

import pandas as pd
from datetime import time

ser = pd.Series(index=pd.date_range('2000-1-1', periods=1000000, freq=pd.datetools.offsets.Second()))
ser.head(999999)[time(15,0)] # this is fine
ser[time(15,0)] # this fails

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4