w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Implementation details

In 0.12, Series is a subclass of ndarray, with lots of overriden methods. You are missing:

subarr = subarr.view(Series) which makes a ``Series`` a
sub-class

In any event, the code changed quite a bit, so in 0.13, Series is now just like the other pandas objects and a sub-class of NDFrame, rather than a subclass of ndarray.

See here





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.