Panel4D.apply(func, axis='major', **kwargs) [source]
Applies function along axis (or axes) of the Panel Parameters:
func : function Function to apply to each combination of ?other? axes e.g. if axis = ?items?, the combination of major_axis/minor_axis will each be passed as a Series; if axis = (?items?, ?major?), DataFrames of items & major axis will be passed axis : {?items?, ?minor?, ?major?}, or {0, 1, 2}, or a tuple with two axes Additional keyword arguments will be passed as ke