Module Import alias Import alias identifier Import alias identifier ImportFrom alias alias alias ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias ClassDef bases NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr keyword NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad ListLoad Call AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad NameLoad attr CompareIs NameLoad AttributeLoad NameLoad attr Assign NameStore Str For NameStore ListLoad Num Num ListLoad Num Num ListLoad Num Num body With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore ListLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad Call NameLoad Str Call NameLoad Str keyword ListLoad Num Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad ListLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Raise Call AttributeLoad NameLoad attr Str ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Raise Call AttributeLoad NameLoad attr Str ImportFrom alias Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num attr Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num attr Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str With Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr keyword NameLoad attr Num keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call NameLoad ListLoad Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr keyword ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str ListLoad Call AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num keyword ListLoad Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad keyword Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad keyword Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr CompareIs NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr keyword ListLoad Num decorator_list decorator_list
N/A N/A nose N/A numpy np N/A pandas pd pandas Index Series _np_version_under1p9 pandas.tseries.index Timestamp N/A pandas.core.common com N/A pandas.util.testing tm common TestData TestSeriesQuantile N/A TestData N/A tm TestCase N/A test_quantile N/A N/A self N/A N/A numpy percentile N/A q N/A N/A N/A self ts quantile 0.1 N/A N/A N/A self assertEqual q N/A percentile N/A N/A N/A self ts valid 10 N/A q N/A N/A N/A self ts quantile 0.9 N/A N/A N/A self assertEqual q N/A percentile N/A N/A N/A self ts valid 90 N/A q N/A N/A N/A Series N/A self ts dtype object quantile 0.9 N/A N/A N/A self assertEqual q N/A percentile N/A N/A N/A self ts valid 90 N/A dts N/A N/A N/A N/A self ts index to_series N/A q N/A N/A dts quantile 0.2 N/A N/A N/A self assertEqual q N/A Timestamp 2000-01-10 19:12:00 N/A tds N/A N/A dts diff N/A q N/A N/A tds quantile 0.25 N/A N/A N/A self assertEqual q N/A N/A pd to_timedelta 24:00:00 N/A result N/A N/A N/A Series N/A N/A N/A np timedelta64 NaT sum N/A N/A N/A self assertTrue N/A result N/A pd NaT N/A msg percentiles should all be in the interval \[0, 1\] N/A invalid N/A -1 2 N/A 0.5 -1 N/A 0.5 2 N/A N/A N/A N/A tm assertRaisesRegexp ValueError msg N/A N/A N/A N/A N/A self ts quantile invalid N/A test_quantile_multi N/A N/A self N/A N/A numpy percentile N/A qs N/A 0.1 0.9 N/A result N/A N/A N/A self ts quantile qs N/A expected N/A N/A pd Series N/A N/A percentile N/A N/A N/A self ts valid 10 N/A percentile N/A N/A N/A self ts valid 90 index qs name N/A N/A self ts name N/A N/A N/A tm assert_series_equal result expected N/A dts N/A N/A N/A N/A self ts index to_series N/A N/A dts name xxx N/A result N/A N/A dts quantile N/A 0.2 0.2 N/A expected N/A Series N/A N/A Timestamp 2000-01-10 19:12:00 N/A Timestamp 2000-01-10 19:12:00 index N/A 0.2 0.2 name xxx N/A N/A N/A tm assert_series_equal result expected N/A result N/A N/A N/A self ts quantile N/A N/A expected N/A N/A pd Series N/A name N/A N/A self ts name index N/A Index N/A dtype float N/A N/A N/A tm assert_series_equal result expected N/A test_quantile_interpolation N/A N/A self N/A N/A N/A _np_version_under1p9 N/A N/A N/A N/A nose SkipTest Numpy version is under 1.9 numpy percentile N/A q N/A N/A N/A self ts quantile 0.1 interpolation linear N/A N/A N/A self assertEqual q N/A percentile N/A N/A N/A self ts valid 10 N/A q1 N/A N/A N/A self ts quantile 0.1 N/A N/A N/A self assertEqual q1 N/A percentile N/A N/A N/A self ts valid 10 N/A N/A N/A self assertEqual q q1 N/A test_quantile_interpolation_dtype N/A N/A self N/A N/A N/A _np_version_under1p9 N/A N/A N/A N/A nose SkipTest Numpy version is under 1.9 numpy percentile N/A q N/A N/A N/A N/A pd Series N/A 1 3 4 quantile 0.5 interpolation lower N/A N/A N/A self assertEqual q N/A percentile N/A N/A np array N/A 1 3 4 50 N/A N/A N/A self assertTrue N/A N/A com is_integer q N/A q N/A N/A N/A N/A pd Series N/A 1 3 4 quantile 0.5 interpolation higher N/A N/A N/A self assertEqual q N/A percentile N/A N/A np array N/A 1 3 4 50 N/A N/A N/A self assertTrue N/A N/A com is_integer q N/A test_quantile_interpolation_np_lt_1p9 N/A N/A self N/A N/A N/A N/A _np_version_under1p9 N/A N/A N/A N/A nose SkipTest Numpy version is greater than 1.9 numpy percentile N/A q N/A N/A N/A self ts quantile 0.1 interpolation linear N/A N/A N/A self assertEqual q N/A percentile N/A N/A N/A self ts valid 10 N/A q1 N/A N/A N/A self ts quantile 0.1 N/A N/A N/A self assertEqual q1 N/A percentile N/A N/A N/A self ts valid 10 N/A expErrMsg Interpolation methods other than  N/A N/A N/A tm assertRaisesRegexp ValueError expErrMsg N/A N/A N/A N/A N/A self ts quantile 0.9 interpolation nearest N/A N/A N/A tm assertRaisesRegexp ValueError expErrMsg N/A N/A q N/A N/A N/A Series N/A self ts dtype object quantile 0.7 interpolation higher N/A test_quantile_nan N/A N/A self N/A N/A N/A cases N/A N/A Series N/A N/A Series N/A N/A np nan N/A np nan N/A s cases N/A N/A res N/A N/A s quantile 0.5 N/A N/A N/A self assertTrue N/A N/A np isnan res N/A res N/A N/A s quantile N/A 0.5 N/A N/A N/A tm assert_series_equal res N/A N/A pd Series N/A N/A np nan index N/A 0.5 N/A res N/A N/A s quantile N/A 0.2 0.3 N/A N/A N/A tm assert_series_equal res N/A N/A pd Series N/A N/A np nan N/A np nan index N/A 0.2 0.3 N/A test_quantile_box N/A N/A self N/A N/A N/A cases N/A N/A N/A N/A pd Timestamp 2011-01-01 N/A N/A pd Timestamp 2011-01-02 N/A N/A pd Timestamp 2011-01-03 N/A N/A N/A pd Timestamp 2011-01-01 tz US/Eastern N/A N/A pd Timestamp 2011-01-02 tz US/Eastern N/A N/A pd Timestamp 2011-01-03 tz US/Eastern N/A N/A N/A pd Timedelta 1 days N/A N/A pd Timedelta 2 days N/A N/A pd Timedelta 3 days N/A N/A N/A pd Timestamp 2011-01-01 N/A N/A pd Timestamp 2011-01-02 N/A N/A pd Timestamp 2011-01-03 N/A pd NaT N/A N/A N/A pd Timestamp 2011-01-01 tz US/Eastern N/A N/A pd Timestamp 2011-01-02 tz US/Eastern N/A N/A pd Timestamp 2011-01-03 tz US/Eastern N/A pd NaT N/A N/A N/A pd Timedelta 1 days N/A N/A pd Timedelta 2 days N/A N/A pd Timedelta 3 days N/A pd NaT N/A case cases N/A N/A s N/A N/A pd Series case name XXX N/A res N/A N/A s quantile 0.5 N/A N/A N/A self assertEqual res N/A case N/A 1 N/A res N/A N/A s quantile N/A 0.5 N/A exp N/A N/A pd Series N/A N/A case N/A 1 index N/A 0.5 name XXX N/A N/A N/A tm assert_series_equal res exp N/A test_datetime_timedelta_quantiles N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A pd isnull N/A N/A N/A Series N/A dtype M8[ns] quantile 0.5 N/A N/A N/A self assertTrue N/A N/A pd isnull N/A N/A N/A Series N/A dtype m8[ns] quantile 0.5 N/A test_quantile_nat N/A N/A self N/A N/A N/A res N/A N/A N/A Series N/A N/A pd NaT N/A pd NaT quantile 0.5 N/A N/A N/A self assertTrue N/A res N/A pd NaT N/A res N/A N/A N/A Series N/A N/A pd NaT N/A pd NaT quantile N/A 0.5 N/A N/A N/A tm assert_series_equal res N/A N/A pd Series N/A N/A pd NaT index N/A 0.5 N/A N/A