pyOpt Error on Tutorial 1

2018-05-02 Thread Maha
I am trying to run pyOpt tutorial located at http://www.pyopt.org/tutorial.html. It will display the Objective function but the line slsqp = pyOpt.SLSQP() gives the following error. AttributeError: 'module' object has no attribute 'SLSQP' It is installed on the following folder C:\Python27\pyOpt-1

Re: In numpy, why is it ok to do matrix.mean(), but not ok to do matrix.median()?

2018-05-02 Thread C W
Thanks, Chris. That makes sense. The len() example is great! On Tue, May 1, 2018 at 10:37 PM, Chris Angelico wrote: > On Wed, May 2, 2018 at 12:22 PM, C W wrote: > > It's interesting how mean() can be implemented, but median() will break > > other packages. > > > > So, the default way in numpy

[RELEASE] Python 3.7.0b4, final 3.7 beta, now available for testing

2018-05-02 Thread Ned Deily
Python 3.7.0b4 is the final beta preview of Python 3.7, the next feature release of Python. Beta releases are intended to give you the opportunity to test new features and bug fixes and to prepare your projects to support the new feature release. We strongly encourage you to test your projects with

Masking using shapefiles

2018-05-02 Thread jorge . conrado
Hi, I'm trying to make a mask using a shapefile of Brazil using the examplE: http://basemaptutorial.readthedocs.io/en/latest/clip.html I run my script and I had the messages: Traceback (most recent call last): File "mascarapy2.py", line 7, in from osgeo import gdal File "/h

Re: Passing all pandas DataFrame columns to function as separate parameters

2018-05-02 Thread zljubisic
Thomas, thank you very very much, this was exactly what I needed. Thanks again and best regards. -- https://mail.python.org/mailman/listinfo/python-list

testfixtures 6.0.2 released - important bug fix!

2018-05-02 Thread Chris Withers
Hi All, I'm afraid I've found quite a serious regression in the 6.x series of testfixtures releases: Objects that had neither __dict__ nor __slots__ would always be considered equal by compare(). I hit this comparing datetimes, but this would also affect types provides by extensions in other