Re: [Numpy-discussion] [SciPy-User] Why slicing Pandas column and then subtract gives NaN?

2019-02-14 Thread Mike C
Thanks a lot, Thomas. I don’t have index when I read in the data. I just want to slice two series to the same length, and subtract. That’s it! I also don’t what numpy methods wrapped within methods. They work, but hard do understand. How would you do it? In Matlab or R, it’s very simple, one l

Re: [Numpy-discussion] [SciPy-User] Why slicing Pandas column and then subtract gives NaN?

2019-02-14 Thread C W
Hi Paul, Thanks for your response! I did not find a Pandas list for users, only for developers. I'd love to be on there. result = a.subtract(b.shift()).dropna() This seems verbose, several layers of parenthesis follow by a dot method. I'm new to Python, I thought Python code would be pity and sh

Re: [Numpy-discussion] 'nansqrt' function?

2019-02-14 Thread Andras Deak
On Thu, Feb 14, 2019 at 10:46 AM Mauro Cavalcanti wrote: > > Chuck, > > IPython is full of secrets! More traditional users (myself included) usually > look for the official documentation, so it would be really useful if such > hints were also available there. Sorry if I'm stating the obvious, b

Re: [Numpy-discussion] 'nansqrt' function?

2019-02-14 Thread Mauro Cavalcanti
Chuck, IPython is full of secrets! More traditional users (myself included) usually look for the official documentation, so it would be really useful if such hints were also available there. Best regards, Em qui, 14 de fev de 2019 às 00:44, Charles R Harris < charlesr.har...@gmail.com> escreveu: