def validate_clip_with_axis(axis, args, kwargs):
 if isinstance(axis, ndarray):
  args = ((axis,) + args)
  axis = None
 validate_clip(args, kwargs)
 return axis

def validate_clip_with_axis ( axis , args , kwargs ) : if isinstance ( axis , ndarray ) : args = ( ( axis , ) + args ) axis = None validate_clip ( args , kwargs ) return axis
if ndframe .