Module Import alias identifier Import alias identifier Import alias identifier ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Return TupleLoad BinOpAdd NameLoad AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Call NameLoad Call NameLoad ListComp SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num comprehension NameStore NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore BinOpAdd Call NameLoad ListComp SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num comprehension NameStore NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num orelse Assign NameStore Call NameLoad BinOpAdd ListComp SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num comprehension NameStore NameLoad ListLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore Call NameLoad BinOpAdd ListComp SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num comprehension NameStore NameLoad ListLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Import alias identifier Import alias identifier If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Assign NameStore TupleLoad BinOpMult AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad orelse Assign NameStore TupleLoad BinOpMult AttributeLoad NameLoad attr NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListComp SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad ListComp SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num comprehension NameStore NameLoad For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword BinOpDiv Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Slice NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword BinOpDiv Num NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Num orelse Assign NameStore Call NameLoad ListComp SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num comprehension NameStore BinOpAdd NameLoad ListLoad NameLoad Assign NameStore BinOpDiv Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Index Num Slice NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad AugAssignAdd NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Index Num Slice NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Num Str AttributeLoad NameLoad attr orelse For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareGt NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore ListComp AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr comprehension NameStore Call NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Import alias identifier Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore BinOpDiv Num BinOpAdd Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr For TupleStore TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd CompareLt NameLoad NameLoad CompareLt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpOr CompareLt NameLoad NameLoad CompareLt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Import alias identifier Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str ListLoad Num Num ListLoad Num Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword ListLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str ListLoad Num Num ListLoad Num Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Num keyword ListLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str TupleLoad Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Num Str TupleLoad Num Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str ListLoad Num Num Num Num Num Num ListLoad Num Num Num Num Num Num keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword ListLoad Str Expr Call AttributeLoad NameLoad attr
N/A N/A numpy np N/A pandas pd N/A pandas.compat compat TablePlotter N/A object N/A N/A 
    Layout some DataFrames in vertical/horizontal layout for explanation.
    Used in merging.rst
     __init__ N/A N/A self cell_width cell_height font_size N/A 0.37 0.25 7.5 N/A N/A N/A self cell_width cell_width N/A N/A self cell_height cell_height N/A N/A self font_size font_size N/A _shape N/A N/A self df N/A N/A N/A Calcurate table chape considering index levels N/A N/A row col N/A df shape N/A N/A N/A row N/A N/A df columns nlevels N/A col N/A N/A df index nlevels N/A _get_cells N/A N/A self left right vertical N/A N/A N/A Calcurate appropriate figure size based on left and right data N/A vertical N/A N/A vcells N/A max N/A sum N/A N/A N/A N/A self _shape l N/A 0 N/A l left N/A N/A N/A self _shape right N/A 0 N/A hcells N/A N/A max N/A N/A N/A N/A self _shape l N/A 1 N/A l left N/A N/A N/A self _shape right N/A 1 N/A N/A vcells N/A max N/A N/A N/A N/A N/A self _shape l N/A 0 N/A l left N/A N/A N/A N/A self _shape right N/A 0 N/A hcells N/A sum N/A N/A N/A N/A N/A self _shape l N/A 1 N/A l left N/A N/A N/A N/A self _shape right N/A 1 N/A N/A hcells vcells N/A plot N/A N/A self left right labels vertical N/A None True N/A N/A 
        Plot left / right DataFrames in specified layout.

        Parameters
        ----------
        left : list of DataFrames before operation is applied
        right : DataFrame of operation result
        labels : list of str to be drawn as titles of left DataFrames
        vertical : bool
            If True, use vertical layout. If False, use horizontal layout.
         N/A matplotlib.pyplot plt N/A matplotlib.gridspec gridspec N/A N/A N/A isinstance left list N/A N/A left N/A left N/A left N/A N/A N/A self _conv l N/A l left N/A right N/A N/A self _conv right N/A N/A hcells vcells N/A N/A self _get_cells left right vertical N/A vertical N/A N/A figsize N/A N/A N/A self cell_width hcells N/A N/A self cell_height vcells N/A N/A figsize N/A N/A N/A self cell_width hcells N/A N/A self cell_height vcells N/A fig N/A N/A plt figure figsize figsize N/A vertical N/A N/A gs N/A N/A gridspec GridSpec N/A len left hcells N/A max_left_cols N/A max N/A N/A N/A N/A self _shape l N/A 1 N/A l left N/A max_left_rows N/A max N/A N/A N/A N/A self _shape l N/A 0 N/A l left N/A N/A i N/A l label N/A enumerate N/A zip left labels N/A N/A ax N/A N/A fig add_subplot N/A gs N/A N/A i N/A 0 max_left_cols N/A N/A N/A self _make_table ax l title label height N/A 1.0 max_left_rows N/A ax N/A N/A plt subplot N/A gs N/A N/A N/A max_left_cols N/A N/A N/A self _make_table ax right title Result height N/A 1.05 vcells N/A N/A N/A fig subplots_adjust top 0.9 bottom 0.05 left 0.05 right 0.95 N/A N/A max_rows N/A max N/A N/A N/A N/A self _shape df N/A 0 N/A df N/A left N/A right N/A height N/A 1.0 N/A N/A np max max_rows N/A gs N/A N/A gridspec GridSpec 1 hcells N/A i 0 N/A N/A l label N/A zip left labels N/A N/A sp N/A N/A self _shape l N/A ax N/A N/A fig add_subplot N/A gs N/A N/A 0 N/A i N/A i N/A sp N/A 1 N/A N/A N/A self _make_table ax l title label height height N/A i N/A sp N/A 1 N/A ax N/A N/A plt subplot N/A gs N/A N/A 0 N/A i N/A N/A N/A self _make_table ax right title Result height height N/A N/A N/A fig subplots_adjust top 0.85 bottom 0.05 left 0.05 right 0.95 N/A fig N/A _conv N/A N/A self data N/A N/A N/A Convert each input to appropriate for table outplot N/A N/A isinstance data N/A pd Series N/A N/A N/A N/A data name None N/A N/A data N/A N/A data to_frame name N/A N/A data N/A N/A data to_frame N/A data N/A N/A data fillna NaN N/A data N/A _insert_index N/A N/A self data N/A N/A N/A data N/A N/A data copy N/A idx_nlevels N/A N/A data index nlevels N/A N/A idx_nlevels 1 N/A N/A N/A N/A data insert 0 Index N/A data index N/A N/A i N/A range idx_nlevels N/A N/A N/A N/A data insert i N/A N/A Index{0} format i N/A N/A N/A data index get_level_values i N/A col_nlevels N/A N/A data columns nlevels N/A N/A col_nlevels 1 N/A N/A col N/A N/A N/A data columns get_level_values 0 N/A values N/A N/A N/A N/A N/A data columns get_level_values i values N/A i N/A range 1 col_nlevels N/A col_df N/A N/A pd DataFrame values N/A N/A data columns N/A col_df columns N/A data N/A N/A pd concat N/A col_df data N/A N/A data columns col N/A data N/A _make_table N/A N/A self ax df title height N/A None N/A N/A N/A df None N/A N/A N/A N/A ax set_visible False N/A N/A pandas.tools.plotting plotting N/A idx_nlevels N/A N/A df index nlevels N/A col_nlevels N/A N/A df columns nlevels N/A df N/A N/A self _insert_index df N/A tb N/A N/A plotting table ax df loc 9 N/A N/A N/A tb set_fontsize N/A self font_size N/A N/A height None N/A N/A height N/A 1.0 N/A N/A len df 1 N/A props N/A N/A tb properties N/A N/A N/A r c cell N/A N/A compat iteritems N/A props N/A celld N/A N/A N/A c -1 N/A N/A N/A N/A cell set_visible False N/A N/A N/A N/A r col_nlevels N/A c idx_nlevels N/A N/A N/A N/A cell set_visible False N/A N/A N/A N/A r col_nlevels N/A c idx_nlevels N/A N/A N/A N/A cell set_facecolor #AAAAAA N/A N/A N/A cell set_height height N/A N/A N/A ax set_title title size N/A self font_size N/A N/A N/A ax axis off N/A N/A N/A N/A __name__ __main__ N/A N/A matplotlib.pyplot plt N/A p N/A TablePlotter N/A df1 N/A N/A pd DataFrame N/A A B C N/A 10 11 12 N/A 20 21 22 N/A 30 31 32 N/A df2 N/A N/A pd DataFrame N/A A C N/A 10 12 N/A 30 32 N/A N/A N/A p plot N/A df1 df2 N/A N/A pd concat N/A df1 df2 labels N/A df1 df2 vertical True N/A N/A N/A plt show N/A df3 N/A N/A pd DataFrame N/A X Z N/A 10 12 N/A 30 32 N/A N/A N/A p plot N/A df1 df3 N/A N/A pd concat N/A df1 df3 axis 1 labels N/A df1 df2 vertical False N/A N/A N/A plt show N/A idx N/A N/A N/A pd MultiIndex from_tuples N/A N/A 1 A N/A 1 B N/A 1 C N/A 2 A N/A 2 B N/A 2 C N/A col N/A N/A N/A pd MultiIndex from_tuples N/A N/A 1 A N/A 1 B N/A df3 N/A N/A pd DataFrame N/A v1 v2 N/A 1 2 3 4 5 6 N/A 5 6 7 8 9 10 index idx N/A N/A df3 columns col N/A N/A N/A p plot df3 df3 labels N/A df3 N/A N/A N/A plt show