Module ImportFrom alias Import alias identifier Import alias identifier FunctionDef arguments args defaults body TryExcept body Assign NameStore ListLoad ListLoad Num Num ListLoad Num Num Expr Call NameLoad NameLoad ListLoad Num Str handlers ExceptHandler type NameLoad body Pass orelse Raise NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num keyword Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num keyword Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad NameLoad ListLoad Str Str keyword Num keyword Num Assign NameStore Call NameLoad NameLoad ListLoad Str Str keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword Num Assert Call AttributeLoad CompareEq AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call NameLoad NameLoad ListLoad Num Num keyword Num keyword Num Assign NameStore Call NameLoad NameLoad ListLoad Num Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Num Assert Call AttributeLoad CompareEq NameLoad NameLoad attr decorator_list
N/A mlxtend.preprocessing minmax_scaling N/A pandas pd N/A numpy np test_minmax_scaling_arrayerror N/A N/A N/A N/A N/A N/A N/A ary N/A N/A 1 2 N/A 3 4 N/A N/A minmax_scaling ary N/A 1 s2 N/A N/A N/A AttributeError N/A N/A N/A N/A AssertionError N/A test_pandas_minmax_scaling N/A N/A N/A N/A N/A s1 N/A N/A pd Series N/A 1 2 3 4 5 6 index N/A range 6 N/A s2 N/A N/A pd Series N/A 10 9 8 7 6 5 index N/A range 6 N/A df N/A N/A pd DataFrame s1 columns N/A s1 N/A N/A df N/A s2 s2 N/A df_out1 N/A minmax_scaling df N/A s1 s2 min_val 0 max_val 1 N/A df_out2 N/A minmax_scaling df N/A s1 s2 min_val 50 max_val 100 N/A ary_out1 N/A N/A np array N/A N/A 0.0 1.0 N/A 0.2 0.8 N/A 0.4 0.6 N/A 0.6 0.4 N/A 0.8 0.2 N/A 1.0 0.0 N/A ary_out2 N/A N/A np array N/A N/A 50.0 100.0 N/A 60.0 90.0 N/A 70.0 80.0 N/A 80.0 70.0 N/A 90.0 60.0 N/A 100.0 50.0 N/A N/A N/A N/A np testing assert_allclose N/A df_out1 values ary_out1 rtol 0.001 N/A N/A N/A N/A N/A df_out2 values ary_out2 all N/A test_numpy_minmax_scaling N/A N/A N/A N/A N/A ary N/A N/A np array N/A N/A 1 10 N/A 2 9 N/A 3 8 N/A 4 7 N/A 5 6 N/A 6 5 N/A df_out1 N/A minmax_scaling ary N/A 0 1 min_val 0 max_val 1 N/A df_out2 N/A minmax_scaling ary N/A 0 1 min_val 50 max_val 100 N/A ary_out1 N/A N/A np array N/A N/A 0.0 1.0 N/A 0.2 0.8 N/A 0.4 0.6 N/A 0.6 0.4 N/A 0.8 0.2 N/A 1.0 0.0 N/A ary_out2 N/A N/A np array N/A N/A 50.0 100.0 N/A 60.0 90.0 N/A 70.0 80.0 N/A 80.0 70.0 N/A 90.0 60.0 N/A 100.0 50.0 N/A N/A N/A N/A np testing assert_allclose df_out1 ary_out1 rtol 0.001 N/A N/A N/A N/A df_out2 ary_out2 all N/A