Module ImportFrom alias ImportFrom alias alias alias alias Import alias identifier Import alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list Assign NameStore Dict Str Str Call NameLoad Num Call NameLoad Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str ListLoad Num Num Num ListLoad Num Num Num keyword ListLoad Str Str Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index ListLoad Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index ListLoad Str Str Slice attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index ListLoad Num Num Slice attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Num Num Slice attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num keyword ListLoad Str Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index Str Slice Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index Num Slice Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index Str Slice Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assign NameStore Call NameLoad Dict Str Str ListLoad Num Num Num ListLoad Num Num Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad ListLoad ListLoad Num Num Num ListLoad ListLoad Num Num Num keyword ListLoad Str Str keyword ListLoad Num keyword ListLoad Num Num Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list With Call AttributeLoad NameLoad attr NameLoad Str body Expr AttributeLoad Call NameLoad attr decorator_list decorator_list
N/A __future__ print_function pandas DataFrame Series MultiIndex Panel N/A pandas pd N/A pandas.util.testing tm pandas.tests.frame.common TestData TestDataFrameSubclassing N/A N/A tm TestCase TestData N/A N/A _multiprocess_can_split_ True test_frame_subclassing_and_slicing N/A N/A self N/A N/A CustomSeries N/A Series N/A _constructor N/A N/A self N/A N/A N/A CustomSeries N/A property custom_series_function N/A N/A self N/A N/A N/A OK N/A N/A CustomDataFrame N/A DataFrame N/A N/A 
            Subclasses pandas DF, fills DF with simulation results, adds some
            custom plotting functions.
             __init__ N/A N/A self N/A args kw N/A N/A N/A N/A N/A super CustomDataFrame self __init__ args kw N/A _constructor N/A N/A self N/A N/A N/A CustomDataFrame N/A property N/A _constructor_sliced CustomSeries custom_frame_function N/A N/A self N/A N/A N/A OK N/A N/A N/A data N/A col1 col2 N/A range 10 N/A range 10 N/A cdf N/A CustomDataFrame data N/A N/A N/A self assertTrue N/A isinstance cdf CustomDataFrame N/A cdf_series N/A cdf col1 N/A N/A N/A self assertTrue N/A isinstance cdf_series CustomSeries N/A N/A N/A self assertEqual N/A N/A cdf_series custom_series_function OK N/A cdf_rows N/A cdf N/A 1 5 N/A N/A N/A self assertTrue N/A isinstance cdf_rows CustomDataFrame N/A N/A N/A self assertEqual N/A N/A cdf_rows custom_frame_function OK N/A mcol N/A N/A N/A pd MultiIndex from_tuples N/A N/A A A N/A A B N/A cdf_multi N/A CustomDataFrame N/A N/A 0 1 N/A 2 3 columns mcol N/A N/A N/A self assertTrue N/A isinstance N/A cdf_multi N/A A CustomDataFrame N/A mcol N/A N/A N/A pd MultiIndex from_tuples N/A N/A A N/A B N/A cdf_multi2 N/A CustomDataFrame N/A N/A 0 1 N/A 2 3 columns mcol N/A N/A N/A self assertTrue N/A isinstance N/A cdf_multi2 N/A A CustomSeries N/A test_dataframe_metadata N/A N/A self N/A N/A N/A df N/A N/A tm SubclassedDataFrame N/A X Y N/A 1 2 3 N/A 1 2 3 index N/A a b c N/A N/A df testattr XXX N/A N/A N/A self assertEqual N/A df testattr XXX N/A N/A N/A self assertEqual N/A N/A df N/A N/A X testattr XXX N/A N/A N/A self assertEqual N/A N/A N/A df loc N/A N/A N/A a b N/A testattr XXX N/A N/A N/A self assertEqual N/A N/A N/A df iloc N/A N/A N/A 0 1 N/A testattr XXX N/A N/A N/A self assertEqual N/A N/A N/A df iloc N/A N/A 0 1 N/A testattr XXX N/A unpickled N/A N/A self round_trip_pickle df N/A N/A N/A tm assert_frame_equal df unpickled N/A N/A N/A self assertEqual N/A df _metadata N/A unpickled _metadata N/A N/A N/A self assertEqual N/A df testattr N/A unpickled testattr N/A test_indexing_sliced N/A N/A self N/A N/A N/A df N/A N/A tm SubclassedDataFrame N/A X Y Z N/A 1 2 3 N/A 4 5 6 N/A 7 8 9 index N/A a b c N/A res N/A N/A df loc N/A N/A N/A X N/A exp N/A N/A tm SubclassedSeries N/A 1 2 3 index N/A list abc name X N/A N/A N/A tm assert_series_equal res exp N/A N/A N/A tm assertIsInstance res N/A tm SubclassedSeries N/A res N/A N/A df iloc N/A N/A N/A 1 N/A exp N/A N/A tm SubclassedSeries N/A 4 5 6 index N/A list abc name Y N/A N/A N/A tm assert_series_equal res exp N/A N/A N/A tm assertIsInstance res N/A tm SubclassedSeries N/A res N/A N/A df ix N/A N/A N/A Z N/A exp N/A N/A tm SubclassedSeries N/A 7 8 9 index N/A list abc name Z N/A N/A N/A tm assert_series_equal res exp N/A N/A N/A tm assertIsInstance res N/A tm SubclassedSeries N/A res N/A N/A df loc N/A N/A a N/A N/A exp N/A N/A tm SubclassedSeries N/A 1 4 7 index N/A list XYZ name a N/A N/A N/A tm assert_series_equal res exp N/A N/A N/A tm assertIsInstance res N/A tm SubclassedSeries N/A res N/A N/A df iloc N/A N/A 1 N/A N/A exp N/A N/A tm SubclassedSeries N/A 2 5 8 index N/A list XYZ name b N/A N/A N/A tm assert_series_equal res exp N/A N/A N/A tm assertIsInstance res N/A tm SubclassedSeries N/A res N/A N/A df ix N/A N/A c N/A N/A exp N/A N/A tm SubclassedSeries N/A 3 6 9 index N/A list XYZ name c N/A N/A N/A tm assert_series_equal res exp N/A N/A N/A tm assertIsInstance res N/A tm SubclassedSeries N/A test_to_panel_expanddim N/A N/A self N/A N/A SubclassedFrame N/A DataFrame N/A _constructor_expanddim N/A N/A self N/A N/A N/A SubclassedPanel N/A property N/A SubclassedPanel N/A Panel N/A N/A N/A N/A index N/A N/A MultiIndex from_tuples N/A N/A 0 0 N/A 0 1 N/A 0 2 N/A df N/A SubclassedFrame N/A X Y N/A 1 2 3 N/A 4 5 6 index index N/A result N/A N/A df to_panel N/A N/A N/A self assertTrue N/A isinstance result SubclassedPanel N/A expected N/A SubclassedPanel N/A N/A N/A 1 2 3 N/A N/A 4 5 6 items N/A X Y major_axis N/A 0 minor_axis N/A 0 1 2 dtype int64 N/A N/A N/A tm assert_panel_equal result expected N/A test_subclass_attr_err_propagation N/A N/A self N/A N/A A N/A DataFrame N/A bar N/A N/A self N/A N/A N/A N/A self i_dont_exist N/A property N/A N/A N/A N/A tm assertRaisesRegexp AttributeError .*i_dont_exist.* N/A N/A N/A N/A A bar N/A N/A