subclassing ndarray fun and pandas big data example