pandas.Panel.apply

Panel.apply(func, axis='major')

Apply

Parameters :

func : numpy function

Signature should match numpy.{sum, mean, var, std} etc.

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

fill_value : boolean, default True

Replace NaN values with specified first

Returns :

result : DataFrame or Panel