Module ImportFrom alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias If NameLoad body Import alias FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Return NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr CompareGt NameLoad Num Assert CompareEq NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Expr Call NameLoad NameLoad NameLoad ListLoad ListLoad Num Num ListLoad Num Num Expr Call NameLoad NameLoad NameLoad ListLoad ListLoad Num Num ListLoad Num Num Expr Call NameLoad NameLoad NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num Expr Call NameLoad NameLoad NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num decorator_list FunctionDef arguments args defaults vararg body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad ListLoad NameLoad NameLoad keyword Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIs AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num keyword Num Assign NameStore SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Num Num Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore SubscriptStore NameLoad Index Str BinOpPow SubscriptLoad NameLoad Index Str Num Assign NameStore Call NameLoad NameLoad Num ListLoad ListLoad Str keyword ListLoad Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call NameLoad NameLoad Num ListLoad ListLoad ListLoad Str keyword ListLoad Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call NameLoad NameLoad Num ListLoad ListLoad Str Str keyword ListLoad Str Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Assign NameStore Call NameLoad NameLoad Num ListLoad ListLoad ListLoad Str ListLoad Str ListLoad Str Str keyword ListLoad Str Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Assign NameStore Call NameLoad NameLoad Num ListLoad ListLoad ListLoad Str ListLoad Str ListLoad Str Str keyword ListLoad Str Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Assign NameStore Call NameLoad NameLoad Num ListLoad ListLoad Str ListLoad Str ListLoad Str Str keyword ListLoad Str Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num SubscriptLoad NameLoad Index Num Num ListLoad Num Num SubscriptLoad NameLoad Index Num Num ListLoad Num Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num ListLoad Num Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad Num ListLoad ListLoad Str ListLoad Str ListLoad Str Str keyword ListLoad Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num keyword Num keyword Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Num Num Call NameLoad SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad Num ListLoad ListLoad ListLoad Str Str Expr Call NameLoad NameLoad Num ListLoad ListLoad Str Str ListLoad Str Str Expr Call NameLoad NameLoad Num ListLoad ListLoad Str Str ListLoad Str Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num keyword Num keyword Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Num Num Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str BinOpPow SubscriptLoad NameLoad Index Str Num FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Expr Yield Call NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Num For NameStore Call NameLoad SubscriptLoad NameLoad Slice Num body Expr Yield Call NameLoad Call NameLoad NameLoad Expr Yield Call NameLoad Call NameLoad BinOpAdd TupleLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Call NameLoad TupleLoad Str Str Str Str Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Assign NameStore ListLoad ListLoad TupleLoad Str TupleLoad Str ListLoad TupleLoad Str TupleLoad Str ListLoad TupleLoad Str Str TupleLoad Str Str ListLoad TupleLoad Str Str Str TupleLoad Str Str Str ListLoad TupleLoad Str Str Str TupleLoad Str Str Str Assign NameStore Num Import alias Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body If BoolOpAnd CompareIn NameLoad NameLoad CompareNotIn NameLoad NameLoad body Break orelse Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad ListLoad TupleLoad TupleLoad TupleLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Num If CompareEq BinOpMod NameLoad Num Num body Expr Call NameLoad Str NameLoad Expr Call NameLoad BinOpMod Str TupleLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list Assign AttributeStore NameLoad attr Num FunctionDef arguments args defaults body Assign NameStore Dict Str Str ListLoad Str Str Str Str ListLoad Num Num Num Num Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str ListLoad Str Str Str Str ListLoad Num Num Num Num Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword ListLoad TupleLoad Str Str TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword ListLoad TupleLoad Str Str TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Num ListLoad ListLoad Str ListLoad Str Str keyword ListLoad Str Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str ListLoad Num Num Num FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore SubscriptLoad Call NameLoad ListLoad Call NameLoad Str NameLoad Num Index Num Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad NameLoad Index Num Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Index Num Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Index Num Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str ListLoad Num Num Num FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore SubscriptLoad Call NameLoad ListLoad Call NameLoad Str NameLoad Num Index Num Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad NameLoad keyword Str Index Num Assert Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str ListLoad Num Num Num ListLoad Str Str Str FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore SubscriptLoad Call NameLoad ListLoad Call NameLoad Str Str NameLoad Num Index Num Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad Dict Str Str ListLoad Num AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad keyword NameLoad Index Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad Dict Str Str ListLoad Num AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad keyword NameLoad keyword Str Index Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num ImportFrom alias Assign NameStore Call NameLoad keyword ListLoad Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad Dict Str Str ListLoad Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str keyword NameLoad keyword NameLoad Index Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad Dict Str Str ListLoad Num AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad keyword NameLoad keyword Str decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str ListLoad Num AttributeLoad NameLoad attr Num ListLoad Str Str Str FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore SubscriptLoad Call NameLoad ListLoad Call NameLoad Str Str NameLoad Num Index Num Assert CompareEq AttributeLoad NameLoad attr ListLoad Str Str Str Str Assign TupleStore NameStore Call NameLoad ListLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num decorator_list FunctionDef arguments args defaults body If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str ListLoad Num Num Num ListLoad Num Num Num ListLoad Str Str Str keyword ListLoad Num Num Num FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign TupleStore NameStore Call NameLoad ListLoad Call NameLoad ListLoad NameLoad Num Assign TupleStore NameStore NameStore Call NameLoad ListLoad Call NameLoad Str Call NameLoad Str NameLoad keyword Num Assign TupleStore NameStore Call NameLoad ListLoad Call NameLoad Str Str NameLoad keyword Num Assign TupleStore NameStore Call NameLoad ListLoad Call NameLoad Str Str NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Slice Num Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Slice Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Slice Num orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad Call NameLoad NameLoad Assign TupleStore NameStore Call NameLoad ListLoad NameLoad Dict Str Str SubscriptLoad NameLoad Index Str ListLoad Num Num Num Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign TupleStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad keyword Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num Num Num Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num Num Num Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assign TupleStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad Dict Str Str ListLoad Num Num Num SubscriptLoad NameLoad Index Str keyword Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num Num Num Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num Num Num Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assign TupleStore NameStore Call NameLoad ListLoad NameLoad Dict Str Str ListLoad Num Num Num SubscriptLoad NameLoad Index Str keyword Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num Num Num Assign TupleStore NameStore Call NameLoad ListLoad NameLoad Dict Str Str ListLoad Num Num Num ListLoad Num Num Num keyword Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Assert Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num Num Num Assign TupleStore NameStore Call NameLoad ListLoad NameLoad NameLoad keyword Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Assert Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Import alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad Dict Str ListLoad Num Num Num keyword Str finalbody Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore Call NameLoad ListLoad NameLoad Dict Str Str ListLoad Num AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad NameLoad Str Str keyword NameLoad keyword Str keyword Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad TupleLoad ListLoad Num Num Num ListLoad NameLoad NameLoad NameLoad TupleLoad Call NameLoad ListLoad Str Str Str keyword ListLoad Str Str Str Call NameLoad ListLoad Str Str Str keyword ListLoad Str Str Str TupleLoad ListLoad ListLoad Num ListLoad Num ListLoad Num ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num TupleLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad TupleLoad ListLoad Num Num Num ListLoad Str Str Str TupleLoad ListLoad Num Num Num Call NameLoad ListLoad Str Str Str TupleLoad ListLoad NameLoad NameLoad NameLoad Call NameLoad ListLoad Str Str Str TupleLoad ListLoad NameLoad NameLoad NameLoad ListLoad Str Str Str Assign NameStore ListLoad TupleLoad ListLoad Str Str Str ListLoad Str Str Str Assign NameStore Call NameLoad ListLoad Str FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults body Expr Yield Dict Str NameLoad Expr Yield Dict Str NameLoad decorator_list TryExcept body Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Num Expr Call NameLoad NameLoad Dict Str NameLoad Expr Call NameLoad NameLoad Dict Str NameLoad handlers ExceptHandler type NameLoad body Pass orelse Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults body Expr Yield Dict Str NameLoad decorator_list Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Num Expr Call NameLoad NameLoad NameLoad NameLoad Dict Str NameLoad decorator_list For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Dict Str Str ListLoad Num Num Num ListLoad Num Num Num Num Num ListLoad ListLoad Str ListLoad Str decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str ListLoad Num Num Num FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore SubscriptLoad Call NameLoad ListLoad Call NameLoad NameLoad Num Index Num Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call NameLoad ListLoad Call NameLoad ListLoad NameLoad keyword Num Index Num Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad If NameLoad body Assign TupleStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad Str Assign NameStore Call NameLoad ListLoad NameLoad Call NameLoad NameLoad keyword Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad ListLoad NameLoad Call NameLoad ListLoad NameLoad keyword Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str ListLoad Num Num Num ListLoad Str Str Str FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad ListLoad Str Assign NameStore Call NameLoad ListLoad Str Str Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad keyword Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Num NameLoad keyword ListLoad Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Expr Call NameLoad NameLoad Num NameLoad keyword ListLoad Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str ListLoad Num Num Num FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Expr Call NameLoad NameLoad NameLoad ListLoad Call NameLoad Str NameLoad Str decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str ListLoad Str Str Str Assign NameStore Dict Str Call NameLoad ListLoad Str Str Str Assign NameStore ListLoad NameLoad NameLoad If NameLoad body Assign NameStore Dict Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad ListLoad Call NameLoad ListLoad Str NameLoad keyword Num Expr Call NameLoad NameLoad NameLoad decorator_list For NameStore NameLoad body For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body ImportFrom alias alias Assign NameStore ListLoad Str Str Str Str Assign NameStore Call NameLoad Dict Str Call NameLoad NameLoad Num ListLoad ListLoad Str keyword ListLoad Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num For NameStore TupleLoad NameLoad Call NameLoad body Assign NameStore Call NameLoad Dict Str Call NameLoad NameLoad NameLoad Num ListLoad ListLoad Str keyword ListLoad Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call NameLoad Dict Str Call NameLoad NameLoad Call NameLoad keyword Num Num ListLoad ListLoad Str keyword ListLoad Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call NameLoad Dict Str Call NameLoad NameLoad Num ListLoad ListLoad ListLoad Str keyword ListLoad Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num For NameStore TupleLoad NameLoad Call NameLoad body Assign NameStore Call NameLoad Dict Str Call NameLoad NameLoad NameLoad Num ListLoad ListLoad ListLoad Str keyword ListLoad Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call NameLoad Dict Str Call NameLoad NameLoad Call NameLoad keyword Num Num ListLoad ListLoad ListLoad Str keyword ListLoad Str Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call NameLoad Dict Str Call NameLoad NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Num ListLoad ListLoad Str keyword ListLoad Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call NameLoad Dict Str Call NameLoad NameLoad Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Str Str Num ListLoad ListLoad Str keyword ListLoad Str Str Assert Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str Str ListLoad Num Num ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call NameLoad Str Str Str FunctionDef arguments args defaults body Expr Yield NameLoad decorator_list Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad NameLoad Num Index Num Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad NameLoad Index Num FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad Call NameLoad ListLoad NameLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index NameLoad If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assert CompareEq Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call NameLoad Str ListLoad Str Str Str Call NameLoad NameLoad Expr Call NameLoad ListLoad Str Str Str ListLoad Str Str Str Call NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad ListLoad Call NameLoad Str Call NameLoad Str Call NameLoad Str ListLoad Str Str Str Call NameLoad NameLoad Expr Call NameLoad NameLoad ListLoad Str Str Str Call NameLoad NameLoad Expr Call NameLoad ListLoad SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Index Num ListLoad Str Str Str Call NameLoad NameLoad Expr Call NameLoad Str ListLoad Str Str ListLoad Num Num Expr Call NameLoad ListLoad Str Str ListLoad Str Str ListLoad Num Num If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad ListLoad Call NameLoad Str Call NameLoad Str ListLoad Str Str ListLoad Num Num Expr Call NameLoad ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num ListLoad Str Str ListLoad Num Num Expr Call NameLoad ListLoad SubscriptLoad NameLoad Index Num Str ListLoad Str Str ListLoad Num Num Expr Call NameLoad Str ListLoad Str Str ListLoad Num Num Expr Call NameLoad ListLoad Str Str ListLoad Str Str ListLoad Num Num Expr Call NameLoad ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str ListLoad Str Str ListLoad Num Num Expr Call NameLoad ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num ListLoad Str Str ListLoad Num Num Expr Call NameLoad ListLoad SubscriptLoad NameLoad Index Num Str ListLoad Str Str ListLoad Num Num Expr Call NameLoad Str ListLoad Str ListLoad Num Num Expr Call NameLoad ListLoad Str ListLoad Str ListLoad Num Num Expr Call NameLoad ListLoad Call AttributeLoad NameLoad attr Str ListLoad Str ListLoad Num Num Expr Call NameLoad ListLoad SubscriptLoad NameLoad Index Num ListLoad Str ListLoad Num Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad Call NameLoad ListLoad Str Assign NameStore Call NameLoad ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Assert CompareEq AttributeLoad NameLoad attr ListLoad Str Str Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list
N/A __future__ print_function N/A six N/A numpy np nose.tools assert_raises patsy PatsyError patsy.util atleast_2d_column_default have_pandas have_pandas_categorical patsy.desc Term INTERCEPT patsy.build * patsy.categorical C patsy.user_util balanced LookupFactor patsy.design_info DesignMatrix DesignInfo N/A have_pandas N/A N/A pandas assert_full_rank N/A N/A m N/A N/A N/A m N/A atleast_2d_column_default m N/A N/A N/A N/A m shape N/A 1 0 N/A N/A True N/A N/A u s v N/A N/A N/A np linalg svd m N/A rank N/A N/A np sum N/A s 1e-10 N/A N/A rank N/A N/A m shape N/A 1 N/A test_assert_full_rank N/A N/A N/A N/A N/A N/A assert_full_rank N/A N/A np eye 10 N/A N/A assert_full_rank N/A N/A 1 0 N/A 1 0 N/A 1 0 N/A 1 1 N/A N/A assert_raises AssertionError assert_full_rank N/A N/A 1 0 N/A 2 0 N/A N/A assert_raises AssertionError assert_full_rank N/A N/A 1 2 N/A 2 4 N/A N/A assert_raises AssertionError assert_full_rank N/A N/A 1 2 3 N/A 1 10 100 N/A N/A assert_raises AssertionError assert_full_rank N/A N/A 1 2 3 N/A 1 5 6 N/A 1 6 7 N/A make_termlist N/A N/A N/A entries N/A N/A terms N/A N/A entry entries N/A N/A N/A N/A terms append N/A Term N/A N/A LookupFactor name N/A name entry N/A terms N/A check_design_matrix N/A N/A mm expected_rank termlist column_names N/A None N/A N/A N/A assert_full_rank mm N/A N/A N/A set N/A N/A mm design_info terms N/A set termlist N/A N/A column_names None N/A N/A N/A N/A N/A mm design_info column_names column_names N/A N/A N/A mm ndim 2 N/A N/A N/A N/A mm shape N/A 1 expected_rank N/A make_matrix N/A N/A data expected_rank entries column_names N/A None N/A N/A termlist N/A make_termlist entries iter_maker N/A N/A N/A N/A N/A N/A data N/A N/A design_infos N/A design_matrix_builders N/A termlist iter_maker eval_env 0 N/A matrices N/A build_design_matrices design_infos data N/A matrix N/A matrices N/A 0 N/A N/A N/A N/A design_infos N/A 0 term_slices N/A N/A matrix design_info term_slices N/A N/A N/A N/A design_infos N/A 0 column_names N/A N/A matrix design_info column_names N/A N/A N/A matrix design_info N/A design_infos N/A 0 N/A N/A check_design_matrix matrix expected_rank termlist column_names column_names N/A matrix N/A test_simple N/A N/A N/A N/A N/A data N/A balanced a 2 b 2 N/A x1 N/A data N/A x1 N/A N/A np linspace 0 1 N/A len N/A data N/A a N/A x2 N/A data N/A x2 N/A N/A data N/A x1 2 N/A m N/A make_matrix data 2 N/A N/A a column_names N/A a[a1] a[a2] N/A N/A N/A np allclose m N/A N/A 1 0 N/A 1 0 N/A 0 1 N/A 0 1 N/A m N/A make_matrix data 2 N/A N/A N/A a column_names N/A Intercept a[T.a2] N/A N/A N/A np allclose m N/A N/A 1 0 N/A 1 0 N/A 1 1 N/A 1 1 N/A m N/A make_matrix data 4 N/A N/A a b column_names N/A a[a1]:b[b1] a[a2]:b[b1] a[a1]:b[b2] a[a2]:b[b2] N/A N/A N/A np allclose m N/A N/A 1 0 0 0 N/A 0 0 1 0 N/A 0 1 0 0 N/A 0 0 0 1 N/A m N/A make_matrix data 4 N/A N/A N/A a N/A b N/A a b column_names N/A Intercept a[T.a2] b[T.b2] a[T.a2]:b[T.b2] N/A N/A N/A np allclose m N/A N/A 1 0 0 0 N/A 1 0 1 0 N/A 1 1 0 0 N/A 1 1 1 1 N/A m N/A make_matrix data 4 N/A N/A N/A b N/A a N/A b a column_names N/A Intercept b[T.b2] a[T.a2] b[T.b2]:a[T.a2] N/A N/A N/A np allclose m N/A N/A 1 0 0 0 N/A 1 1 0 0 N/A 1 0 1 0 N/A 1 1 1 1 N/A m N/A make_matrix data 4 N/A N/A a N/A x1 N/A a x1 column_names N/A a[a1] a[a2] x1 a[T.a2]:x1 N/A N/A N/A np allclose m N/A N/A 1 0 N/A x1 N/A 0 0 N/A 1 0 N/A x1 N/A 1 0 N/A 0 1 N/A x1 N/A 2 N/A x1 N/A 2 N/A 0 1 N/A x1 N/A 3 N/A x1 N/A 3 N/A m N/A make_matrix data 3 N/A N/A x1 N/A x2 N/A x2 x1 column_names N/A x1 x2 x2:x1 N/A N/A N/A np allclose m N/A N/A np column_stack N/A x1 x2 N/A x1 x2 N/A test_R_bugs N/A N/A N/A N/A N/A data N/A balanced a 2 b 2 c 2 N/A N/A data N/A x N/A N/A np linspace 0 1 N/A len N/A data N/A a N/A N/A make_matrix data 4 N/A N/A N/A a b N/A N/A make_matrix data 6 N/A N/A a x N/A a b N/A N/A make_matrix data 6 N/A N/A a c N/A a b N/A test_redundancy_thoroughly N/A N/A N/A N/A N/A data N/A balanced a 2 b 2 repeat 5 N/A N/A data N/A x1 N/A N/A np linspace 0 1 N/A len N/A data N/A a N/A N/A data N/A x2 N/A N/A data N/A x1 2 all_subsets N/A N/A l N/A N/A N/A N/A l N/A N/A N/A N/A tuple N/A N/A obj N/A l N/A 0 N/A subset N/A all_subsets N/A l N/A 1 N/A N/A N/A N/A tuple N/A sorted subset N/A N/A N/A tuple N/A sorted N/A N/A obj subset N/A N/A all_terms N/A list N/A all_subsets N/A a b x1 x2 N/A all_termlist_templates N/A list N/A all_subsets all_terms N/A N/A print N/A len all_termlist_templates N/A redundant N/A N/A N/A b N/A a N/A N/A x2 N/A x1 N/A N/A b x2 N/A a x1 N/A N/A a b x2 N/A a b x1 N/A N/A b x1 x2 N/A a x1 x2 N/A count 0 N/A time N/A start N/A N/A time time N/A termlist_template all_termlist_templates N/A N/A termlist_set N/A set termlist_template N/A N/A dispreferred preferred redundant N/A N/A N/A N/A dispreferred termlist_set N/A preferred termlist_set N/A N/A N/A N/A expanded_terms N/A set N/A term_template termlist_template N/A N/A numeric N/A tuple N/A t N/A t term_template N/A N/A t startswith x N/A rest N/A t N/A t term_template N/A N/A N/A t startswith x N/A subset_rest N/A all_subsets rest N/A N/A N/A N/A expanded_terms add N/A frozenset N/A subset_rest numeric N/A expected_rank N/A len expanded_terms N/A N/A termlist_template N/A N/A N/A N/A N/A N/A N/A assert_raises PatsyError make_matrix data expected_rank termlist_template N/A N/A N/A make_matrix data expected_rank termlist_template N/A count 1 N/A N/A N/A count 100 0 N/A N/A N/A print Completed: count N/A N/A print N/A Took %0.2f seconds N/A N/A N/A N/A time time start N/A N/A N/A test_redundancy_thoroughly slow 1 test_data_types N/A N/A N/A N/A N/A basic_dict N/A a x N/A a1 a2 a1 a2 N/A 1 2 3 4 N/A basic_dict_bytes N/A dict basic_dict N/A N/A basic_dict_bytes N/A a N/A N/A N/A s encode ascii N/A s N/A basic_dict_bytes N/A a N/A basic_dict_unicode N/A a x N/A a1 a2 a1 a2 N/A 1 2 3 4 N/A basic_dict_unicode N/A dict basic_dict N/A N/A basic_dict_unicode N/A a N/A N/A N/A six text_type s N/A s N/A basic_dict_unicode N/A a N/A structured_array_bytes N/A N/A np array N/A list N/A zip N/A basic_dict N/A a N/A basic_dict N/A x dtype N/A N/A a S2 N/A x int N/A structured_array_unicode N/A N/A np array N/A list N/A zip N/A basic_dict N/A a N/A basic_dict N/A x dtype N/A N/A a U2 N/A x int N/A recarray_bytes N/A N/A structured_array_bytes view N/A np recarray N/A recarray_unicode N/A N/A structured_array_unicode view N/A np recarray N/A datas N/A basic_dict structured_array_bytes structured_array_unicode recarray_bytes recarray_unicode N/A have_pandas N/A N/A df_bytes N/A N/A pandas DataFrame basic_dict_bytes N/A N/A N/A datas append df_bytes N/A df_unicode N/A N/A pandas DataFrame basic_dict_unicode N/A N/A N/A datas append df_unicode N/A data datas N/A N/A m N/A make_matrix data 4 N/A N/A a N/A a x column_names N/A a[a1] a[a2] a[a1]:x a[a2]:x N/A N/A N/A np allclose m N/A N/A 1 0 1 0 N/A 0 1 0 2 N/A 1 0 3 0 N/A 0 1 0 4 N/A test_build_design_matrices_dtype N/A N/A N/A N/A N/A data N/A x N/A 1 2 3 iter_maker N/A N/A N/A N/A N/A N/A data N/A N/A builder N/A N/A design_matrix_builders N/A N/A make_termlist x iter_maker 0 N/A 0 N/A mat N/A N/A build_design_matrices N/A builder data N/A 0 N/A N/A N/A mat dtype N/A N/A np dtype N/A np float64 N/A mat N/A N/A build_design_matrices N/A builder data dtype N/A np float32 N/A 0 N/A N/A N/A mat dtype N/A N/A np dtype N/A np float32 N/A N/A hasattr np float128 N/A N/A mat N/A N/A build_design_matrices N/A builder data dtype N/A np float128 N/A 0 N/A N/A N/A mat dtype N/A N/A np dtype N/A np float128 N/A test_return_type N/A N/A N/A N/A N/A data N/A x N/A 1 2 3 iter_maker N/A N/A N/A N/A N/A N/A data N/A N/A builder N/A N/A design_matrix_builders N/A N/A make_termlist x iter_maker 0 N/A 0 N/A mat N/A N/A build_design_matrices N/A builder data return_type matrix N/A 0 N/A N/A isinstance mat DesignMatrix N/A N/A assert_raises PatsyError build_design_matrices N/A builder data return_type asdfsadf N/A test_NA_action N/A N/A N/A N/A N/A initial_data N/A x c N/A 1 2 3 N/A c1 c2 c1 iter_maker N/A N/A N/A N/A N/A N/A initial_data N/A N/A builder N/A N/A design_matrix_builders N/A N/A make_termlist x c iter_maker 0 N/A 0 N/A mat N/A N/A build_design_matrices N/A builder N/A x c N/A 10.0 N/A np nan 20.0 N/A N/A np asarray N/A c1 c2 None dtype object N/A 0 N/A N/A N/A mat shape N/A 1 3 N/A N/A N/A np array_equal mat N/A N/A 1.0 0.0 10.0 N/A mat N/A N/A build_design_matrices N/A builder N/A x c N/A 10.0 N/A np nan 20.0 N/A N/A np asarray N/A c1 c2 None dtype object NA_action drop N/A 0 N/A N/A N/A mat shape N/A 1 3 N/A N/A N/A np array_equal mat N/A N/A 1.0 0.0 10.0 patsy.missing NAAction N/A NA_action N/A NAAction NA_types N/A N/A mat N/A N/A build_design_matrices N/A builder N/A x c N/A 10.0 N/A np nan N/A N/A np asarray N/A c1 c2 dtype object NA_action NA_action N/A 0 N/A N/A N/A mat shape N/A 2 3 N/A N/A N/A N/A np testing assert_array_equal mat N/A N/A 1.0 0.0 10.0 N/A 0.0 1.0 N/A np nan N/A N/A assert_raises PatsyError build_design_matrices N/A builder N/A x c N/A 10.0 N/A np nan 20.0 N/A N/A np asarray N/A c1 c2 None dtype object NA_action raise N/A test_NA_drop_preserves_levels N/A N/A N/A N/A N/A data N/A x c N/A 1.0 N/A np nan 3.0 N/A c1 c2 c3 iter_maker N/A N/A N/A N/A N/A N/A data N/A N/A design_info N/A N/A design_matrix_builders N/A N/A make_termlist x c iter_maker 0 N/A 0 N/A N/A N/A design_info column_names N/A c[c1] c[c2] c[c3] x N/A N/A mat N/A build_design_matrices N/A design_info data N/A N/A N/A mat shape N/A 2 4 N/A N/A N/A np array_equal mat N/A N/A 1.0 0.0 0.0 1.0 N/A 0.0 0.0 1.0 3.0 N/A test_return_type_pandas N/A N/A N/A N/A N/A N/A have_pandas N/A N/A N/A data N/A N/A pandas DataFrame N/A x y a N/A 1 2 3 N/A 4 5 6 N/A a1 a2 a1 index N/A 10 20 30 iter_maker N/A N/A N/A N/A N/A N/A data N/A N/A N/A int_builder N/A design_matrix_builders N/A N/A make_termlist N/A iter_maker 0 N/A N/A y_builder x_builder N/A design_matrix_builders N/A N/A make_termlist y N/A make_termlist x iter_maker eval_env 0 N/A N/A x_a_builder N/A design_matrix_builders N/A N/A make_termlist x a iter_maker eval_env 0 N/A N/A x_y_builder N/A design_matrix_builders N/A N/A make_termlist x y iter_maker eval_env 0 N/A N/A assert_raises PatsyError build_design_matrices N/A x_a_builder N/A x a N/A data N/A x N/A N/A data N/A a N/A -1 N/A N/A assert_raises PatsyError build_design_matrices N/A y_builder x_builder N/A x y N/A data N/A x N/A N/A data N/A y N/A -1 CheatingDataFrame N/A N/A pandas DataFrame N/A __getitem__ N/A N/A self key N/A N/A N/A N/A key x N/A N/A N/A N/A N/A N/A pandas DataFrame __getitem__ self key N/A -1 N/A N/A N/A N/A N/A pandas DataFrame __getitem__ self key N/A N/A N/A N/A assert_raises PatsyError build_design_matrices N/A x_builder N/A CheatingDataFrame data N/A N/A mat N/A build_design_matrices N/A x_y_builder N/A x y N/A data N/A x N/A 40 50 60 N/A N/A N/A np allclose mat N/A N/A 1 40 N/A 2 50 N/A 3 60 N/A N/A y_df x_df N/A build_design_matrices N/A y_builder x_builder data return_type dataframe N/A N/A isinstance y_df N/A pandas DataFrame N/A N/A isinstance x_df N/A pandas DataFrame N/A N/A N/A np array_equal y_df N/A N/A 4 N/A 5 N/A 6 N/A N/A N/A np array_equal x_df N/A N/A 1 N/A 2 N/A 3 N/A N/A N/A np array_equal N/A y_df index N/A 10 20 30 N/A N/A N/A np array_equal N/A x_df index N/A 10 20 30 N/A N/A N/A np array_equal N/A y_df columns N/A y N/A N/A N/A np array_equal N/A x_df columns N/A x N/A N/A N/A N/A y_df design_info column_names N/A y N/A N/A N/A N/A x_df design_info column_names N/A x N/A N/A N/A N/A y_df design_info term_names N/A y N/A N/A N/A N/A x_df design_info term_names N/A x N/A N/A y_df x_df N/A build_design_matrices N/A y_builder x_builder N/A y x N/A 7 8 9 N/A data N/A x return_type dataframe N/A N/A isinstance y_df N/A pandas DataFrame N/A N/A isinstance x_df N/A pandas DataFrame N/A N/A N/A np array_equal y_df N/A N/A 7 N/A 8 N/A 9 N/A N/A N/A np array_equal x_df N/A N/A 1 N/A 2 N/A 3 N/A N/A N/A np array_equal N/A y_df index N/A 10 20 30 N/A N/A N/A np array_equal N/A x_df index N/A 10 20 30 N/A N/A N/A np array_equal N/A y_df columns N/A y N/A N/A N/A np array_equal N/A x_df columns N/A x N/A N/A N/A N/A y_df design_info column_names N/A y N/A N/A N/A N/A x_df design_info column_names N/A x N/A N/A N/A N/A y_df design_info term_names N/A y N/A N/A N/A N/A x_df design_info term_names N/A x N/A N/A x_a_df N/A build_design_matrices N/A x_a_builder N/A x a N/A -1 -2 -3 N/A data N/A a return_type dataframe N/A N/A isinstance x_a_df N/A pandas DataFrame N/A N/A N/A np array_equal x_a_df N/A N/A 1 0 -1 N/A 0 1 -2 N/A 1 0 -3 N/A N/A N/A np array_equal N/A x_a_df index N/A 10 20 30 N/A N/A x_y_df N/A build_design_matrices N/A x_y_builder N/A y x N/A 7 8 9 N/A 10 11 12 return_type dataframe N/A N/A isinstance x_y_df N/A pandas DataFrame N/A N/A N/A np array_equal x_y_df N/A N/A 10 7 N/A 11 8 N/A 12 9 N/A N/A N/A np array_equal N/A x_y_df index N/A 0 1 2 N/A N/A int_df N/A build_design_matrices N/A int_builder data return_type dataframe N/A N/A isinstance int_df N/A pandas DataFrame N/A N/A N/A np array_equal int_df N/A N/A 1 N/A 1 N/A 1 N/A N/A N/A N/A int_df index equals N/A 10 20 30 N/A patsy.build N/A had_pandas N/A N/A patsy build have_pandas N/A N/A N/A N/A N/A patsy build have_pandas False N/A N/A assert_raises PatsyError build_design_matrices N/A x_builder N/A x N/A 1 2 3 return_type dataframe N/A N/A N/A N/A patsy build have_pandas had_pandas N/A N/A x_df N/A build_design_matrices N/A x_a_builder N/A x a N/A 1.0 N/A np nan 3.0 N/A N/A np asarray N/A None a2 a1 dtype object NA_action drop return_type dataframe N/A N/A N/A N/A x_df index equals N/A 2 N/A test_data_mismatch N/A N/A N/A N/A N/A test_cases_twoway N/A N/A N/A 1 2 3 N/A True False True N/A N/A C N/A a b c levels N/A c b a N/A C N/A a b c levels N/A a b c N/A N/A N/A 1 N/A 2 N/A 3 N/A N/A 1 1 N/A 2 2 N/A 3 3 N/A N/A N/A 1 1 1 N/A 2 2 2 N/A 3 3 3 N/A N/A 1 1 N/A 2 2 N/A 3 3 N/A test_cases_oneway N/A N/A N/A 1 2 3 N/A a b c N/A N/A 1 2 3 N/A C N/A a b c N/A N/A True False True N/A C N/A a b c N/A N/A True False True N/A a b c N/A setup_predict_only N/A N/A N/A a b c N/A a b d N/A termlist N/A make_termlist N/A x t_incremental N/A N/A data1 data2 N/A N/A iter_maker N/A N/A N/A N/A N/A N/A N/A x data1 N/A N/A N/A x data2 N/A N/A N/A N/A builders N/A design_matrix_builders N/A termlist iter_maker 0 N/A N/A build_design_matrices builders N/A x data1 N/A N/A build_design_matrices builders N/A x data2 N/A N/A N/A PatsyError N/A N/A N/A N/A AssertionError N/A t_setup_predict N/A N/A data1 data2 N/A N/A iter_maker N/A N/A N/A N/A N/A N/A N/A x data1 N/A N/A builders N/A design_matrix_builders N/A termlist iter_maker 0 N/A N/A assert_raises PatsyError build_design_matrices builders N/A x data2 N/A N/A N/A a b test_cases_twoway N/A N/A N/A t_incremental a b N/A N/A t_incremental b a N/A N/A t_setup_predict a b N/A N/A t_setup_predict b a N/A N/A a b test_cases_oneway N/A N/A N/A t_incremental a b N/A N/A t_setup_predict a b N/A N/A a b setup_predict_only N/A N/A N/A t_setup_predict a b N/A N/A t_setup_predict b a N/A N/A assert_raises PatsyError make_matrix N/A x y N/A 1 2 3 N/A 1 2 3 4 2 N/A N/A x N/A y N/A test_data_independent_builder N/A N/A N/A N/A N/A data N/A x N/A 1 2 3 iter_maker N/A N/A N/A N/A N/A N/A data N/A N/A null_builder N/A N/A design_matrix_builders N/A N/A make_termlist iter_maker 0 N/A 0 N/A N/A assert_raises PatsyError build_design_matrices N/A null_builder data N/A intercept_builder N/A N/A design_matrix_builders N/A N/A make_termlist N/A iter_maker eval_env 0 N/A 0 N/A N/A assert_raises PatsyError build_design_matrices N/A intercept_builder data N/A N/A assert_raises PatsyError build_design_matrices N/A null_builder intercept_builder data N/A have_pandas N/A N/A N/A int_m null_m N/A build_design_matrices N/A intercept_builder null_builder N/A N/A pandas DataFrame data N/A N/A N/A np allclose int_m N/A N/A 1 N/A 1 N/A 1 N/A N/A N/A null_m shape N/A 3 0 N/A x_termlist N/A make_termlist N/A x N/A builders N/A design_matrix_builders N/A x_termlist N/A make_termlist iter_maker eval_env 0 N/A N/A x_m null_m N/A build_design_matrices builders data N/A N/A N/A np allclose x_m N/A N/A 1 N/A 2 N/A 3 N/A N/A N/A null_m shape N/A 3 0 N/A builders N/A design_matrix_builders N/A x_termlist N/A make_termlist N/A iter_maker eval_env 0 N/A N/A x_m null_m N/A build_design_matrices builders data N/A N/A x_m intercept_m N/A build_design_matrices builders data N/A N/A N/A np allclose x_m N/A N/A 1 N/A 2 N/A 3 N/A N/A N/A np allclose intercept_m N/A N/A 1 N/A 1 N/A 1 N/A test_same_factor_in_two_matrices N/A N/A N/A N/A N/A data N/A x a N/A 1 2 3 N/A a1 a2 a1 iter_maker N/A N/A N/A N/A N/A N/A data N/A N/A t1 N/A make_termlist N/A x N/A t2 N/A make_termlist N/A x a N/A builders N/A design_matrix_builders N/A t1 t2 iter_maker eval_env 0 N/A N/A m1 m2 N/A build_design_matrices builders data N/A N/A check_design_matrix m1 1 t1 column_names N/A x N/A N/A N/A np allclose m1 N/A N/A 1 N/A 2 N/A 3 N/A N/A check_design_matrix m2 2 t2 column_names N/A x:a[a1] x:a[a2] N/A N/A N/A np allclose m2 N/A N/A 1 0 N/A 0 2 N/A 3 0 N/A test_eval_env_type_builder N/A N/A N/A N/A N/A data N/A x N/A 1 2 3 iter_maker N/A N/A N/A N/A N/A N/A data N/A N/A N/A assert_raises TypeError design_matrix_builders N/A N/A make_termlist x iter_maker foo N/A test_categorical N/A N/A N/A N/A N/A data_strings N/A a N/A a1 a2 a1 N/A data_categ N/A a N/A C N/A a2 a1 a2 N/A datas N/A data_strings data_categ N/A have_pandas_categorical N/A N/A data_pandas N/A a N/A N/A N/A pandas Categorical from_array N/A a1 a2 a2 N/A N/A N/A datas append data_pandas t N/A N/A data1 data2 N/A N/A iter_maker N/A N/A N/A N/A N/A N/A data1 N/A N/A builders N/A design_matrix_builders N/A N/A make_termlist N/A a iter_maker eval_env 0 N/A N/A build_design_matrices builders data2 N/A N/A data1 datas N/A N/A data2 datas N/A N/A N/A t data1 data2 N/A test_contrast N/A N/A N/A N/A patsy.contrasts ContrastMatrix Sum N/A values N/A a1 a3 a1 a2 N/A m N/A make_matrix N/A a N/A C values 3 N/A N/A a column_names N/A a[a1] a[a2] a[a3] N/A N/A N/A np allclose m N/A N/A 1 0 0 N/A 0 0 1 N/A 1 0 0 N/A 0 1 0 N/A s N/A Sum N/A Sum N/A N/A m N/A make_matrix N/A a N/A C values s 3 N/A N/A a column_names N/A a[mean] a[S.a1] a[S.a2] N/A N/A N/A np allclose m N/A N/A 1 1 0 N/A 1 -1 -1 N/A 1 1 0 N/A 1 0 1 N/A m N/A make_matrix N/A a N/A C values N/A Sum omit 0 3 N/A N/A a column_names N/A a[mean] a[S.a2] a[S.a3] N/A N/A N/A np allclose m N/A N/A 1 -1 -1 N/A 1 0 1 N/A 1 -1 -1 N/A 1 1 0 N/A m N/A make_matrix N/A a N/A C values 3 N/A N/A N/A a column_names N/A Intercept a[T.a2] a[T.a3] N/A N/A N/A np allclose m N/A N/A 1 0 0 N/A 1 0 1 N/A 1 0 0 N/A 1 1 0 N/A s N/A Sum N/A Sum N/A N/A m N/A make_matrix N/A a N/A C values s 3 N/A N/A N/A a column_names N/A Intercept a[S.a1] a[S.a2] N/A N/A N/A np allclose m N/A N/A 1 1 0 N/A 1 -1 -1 N/A 1 1 0 N/A 1 0 1 N/A m N/A make_matrix N/A a N/A C values N/A Sum omit 0 3 N/A N/A N/A a column_names N/A Intercept a[S.a2] a[S.a3] N/A N/A N/A np allclose m N/A N/A 1 -1 -1 N/A 1 0 1 N/A 1 -1 -1 N/A 1 1 0 N/A m N/A make_matrix N/A a N/A C values N/A N/A 7 12 N/A 2 13 N/A 8 -1 2 N/A N/A a column_names N/A a[custom0] a[custom1] N/A N/A N/A np allclose m N/A N/A 7 12 N/A 8 -1 N/A 7 12 N/A 2 13 N/A m N/A make_matrix N/A a N/A C values N/A ContrastMatrix N/A N/A 7 12 N/A 2 13 N/A 8 -1 N/A [foo] [bar] 2 N/A N/A a column_names N/A a[foo] a[bar] N/A N/A N/A np allclose m N/A N/A 7 12 N/A 8 -1 N/A 7 12 N/A 2 13 N/A test_DesignInfo_subset N/A N/A N/A N/A N/A all_data N/A x y z N/A 1 2 N/A N/A 3.1 3.2 N/A 4.1 4.2 N/A 5 6 N/A all_terms N/A make_termlist x y z iter_maker N/A N/A N/A N/A N/A N/A all_data N/A N/A all_builder N/A N/A design_matrix_builders N/A all_terms iter_maker 0 N/A 0 N/A full_matrix N/A N/A build_design_matrices N/A all_builder all_data N/A 0 t N/A N/A which_terms variables columns N/A N/A N/A sub_design_info N/A N/A all_builder subset which_terms N/A sub_data N/A N/A variable variables N/A N/A N/A sub_data N/A variable N/A all_data N/A variable N/A sub_matrix N/A N/A build_design_matrices N/A sub_design_info sub_data N/A 0 N/A sub_full_matrix N/A full_matrix N/A N/A N/A columns N/A N/A N/A isinstance which_terms N/A six string_types N/A N/A N/A N/A len which_terms N/A len N/A sub_design_info terms N/A N/A N/A np array_equal sub_matrix sub_full_matrix N/A N/A N/A t ~ 0 + x + y + z N/A x y z N/A slice None N/A N/A t N/A x y z N/A x y z N/A slice None N/A N/A N/A six PY3 N/A N/A N/A t N/A N/A unicode x N/A unicode y N/A unicode z N/A x y z N/A slice None N/A N/A t all_terms N/A x y z N/A slice None N/A N/A t N/A N/A all_terms N/A 0 y N/A all_terms N/A 2 N/A x y z N/A slice None N/A N/A t ~ 0 + x + z N/A x z N/A 0 3 N/A N/A t N/A x z N/A x z N/A 0 3 N/A N/A N/A six PY3 N/A N/A N/A t N/A N/A unicode x N/A unicode z N/A x z N/A 0 3 N/A N/A t N/A N/A all_terms N/A 0 N/A all_terms N/A 2 N/A x z N/A 0 3 N/A N/A t N/A N/A all_terms N/A 0 z N/A x z N/A 0 3 N/A N/A t ~ 0 + z + x N/A x z N/A 3 0 N/A N/A t N/A z x N/A x z N/A 3 0 N/A N/A t N/A N/A N/A six text_type z N/A N/A six text_type x N/A x z N/A 3 0 N/A N/A t N/A N/A all_terms N/A 2 N/A all_terms N/A 0 N/A x z N/A 3 0 N/A N/A t N/A N/A all_terms N/A 2 x N/A x z N/A 3 0 N/A N/A t ~ 0 + y N/A y N/A 1 2 N/A N/A t N/A y N/A y N/A 1 2 N/A N/A t N/A N/A N/A six text_type y N/A y N/A 1 2 N/A N/A t N/A N/A all_terms N/A 1 N/A y N/A 1 2 N/A N/A assert_raises PatsyError N/A all_builder subset a ~ a N/A N/A assert_raises KeyError N/A all_builder subset ~ asdf N/A N/A assert_raises KeyError N/A all_builder subset N/A asdf N/A N/A assert_raises KeyError N/A all_builder subset N/A N/A Term N/A asdf N/A min_di N/A DesignInfo N/A a b c N/A min_di_subset N/A N/A min_di subset N/A c a N/A N/A N/A min_di_subset column_names N/A c a N/A N/A N/A min_di_subset terms None N/A