mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-24 14:34:59 +01:00
11 lines
249 B
Python
11 lines
249 B
Python
import pandas as pd
|
|
from pandas import Series
|
|
|
|
|
|
def test_reductions_td64_with_nat():
|
|
# GH#8617
|
|
ser = Series([0, pd.NaT], dtype="m8[ns]")
|
|
exp = ser[0]
|
|
assert ser.median() == exp
|
|
assert ser.min() == exp
|
|
assert ser.max() == exp
|