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