Module Import alias ImportFrom alias alias ImportFrom alias Import alias identifier Import alias identifier TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Dict Str Str Num Num Dict Str Str Num Num Dict Str Str Num Num Dict Str Str Num Num Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr ListLoad Num Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr ListLoad Num Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num ListLoad Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str Call NameLoad Str Call NameLoad Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A subprocess mock patch MagicMock unittest TestCase N/A pandas pd N/A numpy np N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A io StringIO pandashells.bin.p_sig_edit main MainUnitTest N/A TestCase N/A test_from_input_to_output N/A N/A self arg_parser_mock sig_edit_mock io_lib_mock N/A N/A N/A df_in N/A N/A pd DataFrame N/A N/A a b 1 10 N/A a b 2 20 N/A a b 3 30 N/A a b 4 40 N/A args N/A MagicMock N/A N/A args sigma_thresh N/A 3.0 N/A N/A args cols N/A a N/A N/A args max_iter N/A 20 N/A parser N/A MagicMock parse_args N/A MagicMock return_value args N/A N/A arg_parser_mock return_value parser N/A N/A arg_parser_mock parse_args args N/A N/A io_lib_mock df_to_output N/A MagicMock N/A N/A io_lib_mock df_from_input N/A MagicMock return_value df_in N/A N/A main N/A N/A N/A sig_edit_mock assert_called_with 3.0 N/A a df_in max_iter 20 N/A N/A N/A self assertTrue N/A N/A io_lib_mock df_to_output called N/A N/A patch pandashells.bin.p_sig_edit.io_lib N/A patch pandashells.bin.p_sig_edit.outlier_lib.sigma_edit_dataframe N/A patch pandashells.bin.p_sig_edit.argparse.ArgumentParser N/A IntegrationTests N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self df N/A N/A pd DataFrame N/A N/A a 1 N/A a 2 N/A a 1 N/A a 2 N/A a 1 N/A a 2 N/A a 1 N/A a 2 N/A a 6 N/A get_command_result N/A N/A self cmd N/A N/A N/A p N/A N/A subprocess Popen N/A bash -c cmd stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A stdout stderr N/A N/A p communicate N/A N/A N/A N/A N/A self df to_csv index False encode utf-8 N/A N/A N/A N/A N/A stdout decode utf-8 strip N/A test_editing N/A N/A self N/A N/A N/A cmd p.sig_edit -t 2 -c a N/A df N/A N/A pd read_csv N/A StringIO N/A N/A self get_command_result cmd N/A N/A N/A self assertTrue N/A N/A np isnan N/A N/A N/A df a iloc N/A -1 N/A N/A N/A self assertEqual N/A len N/A N/A df dropna 8 N/A test_bad_iter N/A N/A self N/A N/A N/A cmd p.sig_edit -t 2 -c a --max_iter 0 N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A pd read_csv N/A StringIO N/A N/A self get_command_result cmd N/A N/A