atsnew page
<http://pandas.pydata.org/pandas-docs/version/0.19.2/whatsnew.html> for an
overview of all bugs that have been fixed in 0.19.2.
Thanks to all contributors!
Joris
---
*How to get it:*
Source tarballs and windows/mac/linux wheels are available on PyPI (thanks
to Christoph Go
data.org/pandas-docs/version/0.19.1/whatsnew.html> for an
overview of all bugs that have been fixed in 0.19.1.
Thanks to all contributors!
Joris
---
*How to get it:*
Source tarballs and windows/mac/linux wheels are available on PyPI (thanks
to Christoph Gohlke for the windows wheels, and to Matthe
das-docs/version/0.19.0/whatsnew.html> file
for more information. We recommend that all users upgrade to this version.
This is the work of 5 months of development by 117 contributors. A big
thank you to all contributors!
Joris
---
*What is it:*
pandas is a Python package providing fast, fl
-travis/whatsnew.html> file for
more information. Please report any issues here
<https://github.com/pydata/pandas/issues/>.
A big thanks to all contributors!
Joris
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion
It seems the docs website of numpy and scipy (http://docs.scipy.org/doc/)
is down. Is anyone looking at this?
There is even already a stackoverflow question about it ..
Best regards,
Joris
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
ns about how to use pandas, please look at the pydata mailing
> >> list or stackoverflow.
> >
> > Correct me if I'm wrong, but this assumes that missing data points are
> > represented with Nan. In my case missing data points are jus
2013/4/18 Chris Barker - NOAA Federal
> On Wed, Apr 17, 2013 at 1:09 PM, Bob Nnamtrop
> wrote:
> > It would seem that before 1970 the dates do not include the time zone
> > adjustment while after 1970 they do. This is the source of the extra 7
> > hours.
> >
> > In [21]: np.datetime64('1970-01-0
package
to be used for mathematics, science, and engineering.
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
y. As a consequence, numpy.loadtxt() was created which was
simple and fast. Now it looks like we're going back to something
grandiose. But perhaps it can be made grandiose *and* reasonably
fast ;-).
Cheers,
Joris
P.S. As a reference:
http://article.gmane.org/gmane.comp.python.num
precation
warning postpones but doesn't avoid breaking the API.
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Thanks for the pointers. I'll produce some code to show what I have in
mind, and then come back to the list.
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scip
is, I would like to find out if anyone actually already wrote
something along these lines, in order not to reinvent the wheel.
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discu
st section of that tutorial (Efficient indexing) should
> be useful for those who know Cython as well.
This looks really great! Thanks!
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-disc
egative indices are not supported" you mean that they
are passed to python, or
won't they work at all?
I'm looking forward to the results of your Cython project!
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
turn x
...:
In [3]: fn()
Out[3]:
array([[ 0.07840917, 0.73252624],
[ 0.8109354 , 0.38653933],
[ 1.62187081, 0.1785713 ],
[ 2.00841014, 0.76834603],
[ 3.63028095, 0.64377051]])
Max OSX, Python 2.5, numpy 1.0.4.
Joris
Disc
ase the tendency to include untested things?
Just the 2 cents of a user,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
On 24 Apr 2008, at 19:26, Rich Shepard wrote:
>> norm = 1 / (scale * sqrt(2 * pi))
>> y = norm * exp(-power((x - loc), 2) / (2 * scale**2))
>
> Can do. So, scale would equate to width and loc to center, yes?
Scale is half the width between the inflection points, mind the factor
of 2.
J.
D
On 23 Apr 2008, at 17:50, Tommy Grav wrote:
>
> On Apr 23, 2008, at 11:26 AM, Joris De Ridder wrote:
>
>>
>> They are attached to the wiki page. Click on "Attachments" in the
>> menu
>> on the left.
>>
>> Joris
>
> Thanks. Didn'
They are attached to the wiki page. Click on "Attachments" in the menu
on the left.
Joris
On 23 Apr 2008, at 17:19, Tommy Grav wrote:
>
> On Apr 22, 2008, at 9:56 PM, Joris De Ridder wrote:
>
>>
>> On http://www.scipy.org/JorisDeRidder I've
ou to make shared
libraries of your C++ code without having to worry about whether it
should be a .dll, a .so, or a .dylab library. Plus, it's very easy to
install.
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
__
't
experience any bugs though.
Joris
On 22 Apr 2008, at 23:38, Thomas Hrabe wrote:
Hi all!
I am currently developing a python module in C/C++ which is supposed
to access nd arrays as defined by the following command in python
a = numpy.array([1,1,1])
I want to access the array t
ot; I expect tons of emails of (newbie) people confused whether
and when they should use array and when Vector. Especially when they
come from a language where "vector" is used for what we call an array.
Just my 2 cents,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer
e suitable for IPython. Of course, no problem
if IPython is willing to special-case NumPy/SciPy.
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects
t depreciation, annuity periodic
payments, security yields, and stuff like this?
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
iPy
philosophy either. :-).
So, I would prefer to see this nice functionality in SciPy rather than
in NumPy.
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://
ndre seems to be about 4 times as fast, though.
But I love the way you obfuscate things by having "T" for both the tri-
matrix as the transpose method. :-)
It get's even better with numpy matrices. Next year, my students will
see something like
I.H-T.H*T.I+I.I*H.I+T.T*H.H-H.I
R
On 24 Mar 2008, at 18:27, Martin Manns wrote:
>> I cannot confirm the problem on my intel macbook pro using the same
>> Python and Numpy versions. Although any(numpy.array(large_none))
>> takes
>> a significantly longer time than any(numpy.array(large_zero)), the
>> former does not segfault on
I cannot confirm the problem on my intel macbook pro using the same
Python and Numpy versions. Although any(numpy.array(large_none)) takes
a significantly longer time than any(numpy.array(large_zero)), the
former does not segfault on my machine.
J.
On 24 Mar 2008, at 14:05, Martin Manns
On 22 Mar 2008, at 13:49, Chris Withers wrote:
> Joris De Ridder wrote:
>> numpy.diff
>> See http://www.scipy.org/Numpy_Example_List
>
> Cool :-)
>
> Both this and Hoyt's example do exactly what I want.
>
> I'm guessing diff is going to be more effic
"magic" search terms like e.g. category names.
Cheers,
Joris
---
import numpy
from inspect import getdoc
import re
def doc(searchstr):
searchstr = searchstr.strip().replace('*','\w*').replace('?','\w')
pattern =
numpy.diff
See http://www.scipy.org/Numpy_Example_List
J.
On 22 Mar 2008, at 03:43, Chris Withers wrote:
> Hi All,
>
> Say I have an array like:
>
measurements = array([100,109,115,117])
>
> What do I do to it to get:
>
> array([9, 6, 2])
>
> Is the following really the best way?
>
On 21 Mar 2008, at 12:29, Sebastian Haase wrote:
> ... and what does the "p" stand for in
N.intp
>
It stands for "pointer". An intp is an integer large enough to contain
a pointer address.
J.
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
oat/...
Yep, I did this on the Python side. Thanks for the remark, though.
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
better than what I cooked. If it turns out that it may interest more people, I'll put it on the scipy wiki.Cheers,Joris
ndarray.h
Description: Binary data
On 19 Mar 2008, at 16:22, Matthieu Brucher wrote:Hi,On my blog, I spoke about the class we used. It is not derived from a Numpy array,
(e.g. x[0][2][5] for a 3D array) so that you don't have to worry about
strides? I guess I'm not the first one thinking about this...
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mail
I am new to the world of Python and numpy
Welcome.
I have successfully imported the data into lists and then created a
single array from the lists.
I think putting each quantity in a 1D array is more practical in this
case.
I can get the rainfall total over the entire period using:
cating,
Nope, you did a great job!
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
r email, I understand it's possibly to mediate this
for Cython. From a technical point of view, would it also be possible
to make ctypes work better with Numpy, and if yes, do you have any
idea whether it would be more or less work than for Cython?
Cheers,
Joris
P.S. I had some p
nor
python nor C, but a third language. Is this indeed easier to maintain?
When you would like to use legacy C code for an extension, would you
rewrite it in Cython? What are Cython's advantages compared to ctypes?
Cheers,
Joris
Disclaimer: http://www.kuleuven.
median(). I realise it's kind of a niche example, though.
Just my 0.02 euros.
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/lis
We can add the axis keyword for 1.0.5 as long as the default stays the
> same. We can also add the other keywords as well if appropriate
> defaults can be determined.
Do you mean creating a median(a, axis=0) for 1.0.5, and changing it to
median(a,axis=None) for 1.1? (Modulo other keywords).
tandard
function to use. I would actually prefer a short pain rather than a
long one.
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
ge(),
its default endpoint=True option seems a little bit inconvenient (but
by no means a problem), as you would always have to reset it to
emulate arange() behaviour.
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-d
ses linspace() could well replace arange().
In many cases, yes, but not all. For some cases arange() has its
legitimate use, even for floating point, and in these cases you may
get bitten by the inexact number representation. If Matlab seems to
be able to avoid surprises, why not numpy?
Jo
er, avoid some surprises from
time to time.
From the example of Lorenzo, it seems that Matlab is always
including the endpoint. How exactly is their arange version defined?
Joris
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projec
Might using
min(ceil((stop-start)/step), ceil((stop-start)/step-r))
with r = finfo(double).resolution instead of ceil((stop-start)/step)
perhaps be useful?
Joris
On 14 Sep 2007, at 11:37, Ed Schofield wrote:
> Hi everyone,
>
> This was reported yesterday as a bug in Debia
A related question, just out of curiosity: is there a technical
reason why Numpy has been coded in C rather than C++?
Joris
On 05 Sep 2007, at 02:24, David Goldsmith wrote:
> Anyone have a well-tested SWIG-based C++ STL valarray <=> numpy.array
> typemap to share? Th
> You should most likely just attach a patch against the latest trunk
> to the ticket itself for review.
Done. The patch adds an 'axis' keyword to median().
J.
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing
committing a
fix back to the SVN repository seems to require a specific login/pw,
how to get one (assuming my fix is welcome)?
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-
. But combining it with the
suggestion of Bryan does not seem possible in this particular case as the
swapaxis operations would no longer be possible as the resulting array would be
one with shape (s*s,) containing objects with shape (Nrow-2*d,Ncol-2*d).
Cheers,
Joris
Quoting Francesc Altet &l
2000x2000 array. Does anyone know a better
approach?
Ciao,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
talls well on my Linux box, but there I use gcc-3.4.
instead of gcc-4.0. Might this be a compiler issue?
What version of numpy did you install, did you notice any warning or error
messages at all?
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaime
n
import ctypeslib
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ctypeslib.py",
line 5, in
from numpy import integer, ndarray, dtype as _dtype, deprecate
ImportError: cannot import name integer
The errors I was talking about seem
On Wednesday 07 February 2007 15:22, Stefan van der Walt wrote:
>On Wed, Feb 07, 2007 at 03:11:53PM +0100, Joris De Ridder wrote:
>> I expected as output
>> array([[ 1., 4.],
>>[ 7., 10.]])
>
>That is the answer I get with numpy 1.0.2.dev3537 under Pyth
Hi,
I'm confused by the output of apply_along_axis() in the following very simple
example:
In [93]: a = arange(12.).reshape(2,2,3)
In [95]: a
Out[95]:
array([[[ 0., 1., 2.],
[ 3., 4., 5.]],
[[ 6., 7., 8.],
[ 9., 10., 11.]]])
In [96]: def myfunc(b):
...
55 matches
Mail list logo