Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.Panel.conform

Panel.conform(frame, axis='items')[source]

Conform input DataFrame to align with chosen axis pair.

Parameters:

frame : DataFrame

axis : {‘items’, ‘major’, ‘minor’}

Axis the input corresponds to. E.g., if axis=’major’, then the frame’s columns would be items, and the index would be values of the minor axis

Returns:

DataFrame

Scroll To Top