Module Import alias Import alias identifier Import alias identifier Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr Str ImportFrom alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Str Num Num ListLoad Str Num Num ListLoad Str Num Num keyword ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Str Num Num ListLoad Str AttributeLoad NameLoad attr Num ListLoad AttributeLoad NameLoad attr Num Num keyword ListLoad Str Str Str Assign NameStore Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Str Str Num Num ListLoad Str Str Num Num ListLoad Str Str Num Num ListLoad Str Str Num Num ListLoad Str Str Num Num keyword ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assert CompareEq Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Num NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Num Assert CompareEq Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Num NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Num NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Num NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Dict Str Str Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Dict Str Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr Num NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index ListLoad Str Str NameLoad SubscriptLoad NameLoad Index ListLoad Str Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index CompareEq SubscriptLoad NameLoad Index Str Num NameLoad SubscriptLoad NameLoad Index CompareEq SubscriptLoad NameLoad Index Str Num Expr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index CompareGt SubscriptLoad NameLoad Index Str Num NameLoad SubscriptLoad NameLoad Index CompareGt SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index CompareLt SubscriptLoad NameLoad Index Str Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad CompareLt AttributeLoad NameLoad attr Num Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Expr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad BinOpDiv Num Num Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Num Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad BinOpAdd BinOpAdd Num Num Num Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Num Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Num Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str keyword NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assert CompareEq Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str keyword NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Dict Str Str Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Num Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad NameLoad TupleLoad Num Num Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad ListLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad ListLoad Num ListLoad Num Num FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call NameLoad Str Call NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assert CompareEq Call NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list
N/A N/A pytest N/A numpy np N/A pandas pd N/A pandas.util.testing tm N/A dd N/A N/A pytest importorskip dask.dataframe blaze symbol discover compute broadcast_collect blaze.expr mean count sum min max var std summary eq N/A N/A a b N/A N/A N/A N/A isinstance a N/A dd DataFrame N/A N/A N/A N/A tm assert_frame_equal N/A N/A a compute b N/A N/A N/A isinstance b N/A dd Series N/A N/A N/A N/A tm assert_series_equal N/A N/A a compute b N/A N/A t N/A symbol t var * {name: string, amount: int, id: int} N/A nt N/A symbol t var * {name: ?string, amount: float64, id: int} N/A df N/A N/A pd DataFrame N/A N/A Alice 100 1 N/A Bob 200 2 N/A Alice 50 3 columns N/A name amount id N/A ndf N/A N/A pd DataFrame N/A N/A Alice 100.0 1 N/A Bob N/A np nan 2 N/A N/A np nan 50.0 3 columns N/A name amount id N/A tbig N/A symbol tbig var * {name: string, sex: string[1], amount: int, id: int} N/A dfbig N/A N/A pd DataFrame N/A N/A Alice F 100 1 N/A Alice F 100 3 N/A Drew F 100 4 N/A Drew M 100 5 N/A Drew M 200 5 columns N/A name sex amount id N/A ddf N/A N/A dd from_pandas df npartitions 2 N/A ddfbig N/A N/A dd from_pandas dfbig npartitions 2 test_broadcast N/A N/A N/A N/A N/A bcast N/A broadcast_collect expr N/A N/A t amount N/A t id N/A result N/A compute bcast ddf N/A N/A eq result N/A N/A df amount N/A df id N/A test_symbol N/A N/A N/A N/A N/A N/A eq N/A compute t ddf df N/A test_sample N/A N/A N/A N/A N/A N/A N/A len N/A compute N/A N/A t sample n 2 ddf N/A len N/A N/A df sample n 2 N/A N/A N/A len N/A compute N/A N/A t sample frac 0.4 ddf N/A len N/A N/A df sample frac 0.4 N/A test_head N/A N/A N/A N/A N/A N/A eq N/A compute N/A N/A t head 1 ddf N/A N/A df head 1 N/A test_tail N/A N/A N/A N/A N/A N/A eq N/A compute N/A N/A t tail 1 ddf N/A N/A df tail 1 N/A test_relabel N/A N/A N/A N/A N/A result N/A compute N/A N/A t relabel N/A name id NAME ID ddf N/A expected N/A N/A df rename columns N/A name id NAME ID N/A N/A eq result expected N/A test_relabel_series N/A N/A N/A N/A N/A result N/A compute N/A N/A t relabel N/A name NAME N/A ddf name N/A N/A N/A result name NAME N/A test_series_columnwise N/A N/A N/A N/A N/A data N/A N/A pd Series N/A 1 2 3 4 name a N/A s N/A N/A dd from_pandas data npartitions 2 N/A t N/A symbol t var * {a: int64} N/A result N/A compute N/A N/A t a 1 s N/A N/A eq result data N/A test_projection N/A N/A N/A N/A N/A N/A eq N/A compute N/A t N/A N/A name id ddf N/A df N/A N/A name id N/A test_field_on_series N/A N/A N/A N/A N/A expr N/A symbol s var * int N/A data N/A N/A pd Series N/A 1 2 3 4 name s N/A s N/A N/A dd from_pandas data npartitions 2 N/A N/A eq N/A compute N/A expr s s data N/A test_selection N/A N/A N/A N/A N/A N/A eq N/A compute N/A t N/A N/A N/A t N/A amount 0 ddf N/A df N/A N/A N/A df N/A amount 0 N/A N/A eq N/A compute N/A t N/A N/A N/A t N/A amount 150 ddf N/A df N/A N/A N/A df N/A amount 150 N/A test_selection_out_of_order N/A N/A N/A N/A N/A expr N/A N/A t N/A name N/A N/A N/A t N/A amount 100 N/A expected N/A N/A df loc N/A N/A N/A N/A df amount 100 name N/A result N/A compute expr ddf N/A N/A eq result expected N/A test_selection_inner_inputs N/A N/A N/A N/A N/A s_data N/A N/A pd DataFrame N/A a N/A N/A np arange 5 N/A t_data N/A N/A pd DataFrame N/A a N/A N/A np arange 5 N/A s_dd N/A N/A dd from_pandas s_data npartitions 2 N/A t_dd N/A N/A dd from_pandas t_data npartitions 2 N/A s N/A symbol s var * {a: int64} N/A t N/A symbol t var * {a: int64} N/A N/A eq N/A compute N/A s N/A N/A N/A s a N/A t a N/A s t s_dd t_dd s_data N/A test_reductions N/A N/A N/A N/A N/A N/A N/A compute N/A mean N/A t N/A amount ddf N/A 350 3 N/A N/A N/A compute N/A count N/A t N/A amount ddf 3 N/A N/A N/A compute N/A sum N/A t N/A amount ddf N/A N/A 100 200 50 N/A N/A N/A compute N/A min N/A t N/A amount ddf 50 N/A N/A N/A compute N/A max N/A t N/A amount ddf 200 N/A N/A N/A compute N/A var N/A t N/A amount ddf N/A N/A N/A df amount var ddof 0 N/A N/A N/A compute N/A var N/A t N/A amount unbiased True ddf N/A N/A N/A df amount var N/A N/A N/A compute N/A std N/A t N/A amount ddf N/A N/A N/A df amount std ddof 0 N/A N/A N/A compute N/A std N/A t N/A amount unbiased True ddf N/A N/A N/A df amount std N/A test_summary N/A N/A N/A N/A N/A expr N/A summary count N/A N/A N/A t id count sum N/A N/A N/A t amount sum N/A N/A eq N/A compute expr ddf N/A N/A pd Series N/A count sum 3 350 N/A test_summary_on_series N/A N/A N/A N/A N/A ser N/A N/A dd from_pandas N/A N/A pd Series N/A 1 2 3 npartitions 2 N/A s N/A symbol s 3 * int N/A expr N/A summary max N/A N/A s max min N/A N/A s min N/A N/A N/A compute expr ser N/A 3 1 N/A expr N/A summary max N/A N/A s max min N/A N/A s min keepdims True N/A N/A N/A compute expr ser N/A N/A 3 1 N/A test_isin N/A N/A keys N/A N/A N/A expr N/A t N/A N/A N/A N/A t id isin keys N/A result N/A compute expr ddf N/A expected N/A N/A df loc N/A N/A N/A N/A df id isin keys N/A N/A eq result expected N/A N/A N/A N/A pytest mark parametrize keys N/A N/A 1 N/A 2 3 test_coerce_series N/A N/A N/A N/A N/A s N/A N/A pd Series N/A list 1234 name a N/A dds N/A N/A dd from_pandas s npartitions 2 N/A t N/A symbol t N/A discover s N/A result N/A compute N/A N/A t coerce to int64 dds N/A expected N/A N/A pd Series N/A 1 2 3 4 name N/A s name N/A N/A eq result expected N/A test_nelements_count N/A N/A N/A N/A N/A N/A N/A compute N/A N/A t nelements ddf N/A len df N/A N/A N/A compute N/A t nrows ddf N/A len df N/A N/A N/A compute N/A count t ddf N/A len df N/A