def conform(self, frame, axis='<STR_LIT>'):
axes = self._get_plane_axes(axis)<EOL>return frame.reindex(**self._extract_axes_for_slice(self, axes))<EOL>
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