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/6965 below:

DataFrame.quantile fails on datetime values · Issue #6965 · pandas-dev/pandas · GitHub

In [2]: df = DataFrame({'a': pd.to_datetime(['2010', '2011']), 'b': [0, 5]})

In [3]: df.quantile(.5, numeric_only=False)
Out[3]: 
a    1.278072e+18
b    1.278072e+18
dtype: float64

Series handles things fine.

We need to do a view('i8') on the date time array somewhere, but I had trouble just sticking it inside of the f that gets passed to data.apply(f, ...)


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