"Question: Did you try to control the python & numpy versions by
creating a virtualenv, or a conda env?"
I've just downloaded (ana)conda, but I've to take care first that it
does not substitute to current python release working for for other
solvers
thanks for the information's and the suppor
Thanks
Nevertheless it does not work for me and I suspect the python/numpy
releases :-(
The server on which I'm working on is under Contos 7 that uses python
2.7 et numpy 1.7 from memory ; I tried to upgrade both of them (plus
spyder) but it fails.
I didn't want to impact the other solvers in
Dear All
I'm looking in a way to reshape a 2D matrix into a 3D one ; in my
example I want to MOVE THE COLUMNS FROM THE 4TH TO THE 8TH IN THE 2ND
PLANE (3rd dimension i guess)
a = np.random.rand(5,8); print(a)
I tried
a = p.reshape(d, (2,5,4), ) but it is not what I'm expecting
Nota : it
Dear All
I'm looking in a way to reshape a 2D matrix into a 3D one ; in my
example I want to MOVE THE COLUMNS FROM THE 4TH TO THE 8TH IN THE 2ND
PLANE (3rd dimension i guess)
a = np.random.rand(5,8); print(a)
I tried
a = p.reshape(d, (2,5,4), ) but it is not what I'm expecting
Nota : it
Hi
Once again I need your help to understand one topic concerning slicing
topic, or in other word I do not understand how it works in that
particular (but common) case; I'm trying to reassign the 4 first values
in an array:
* If I use [:3] I'm expecting to have 4 values (index 0 to 3 i
Hi (all)
Ounce again I would like to thanks the community for the supports.
I progressing in moving my code to Python ..
In my mind some parts remains quite hugly (and burns me the eyes), but
it works and I'll optimized it in the future ; so far I can work with
the data in a single reading
Thanks all for your advices
Well many thing to look for, but it's obvious now that I've first to
work on (better) strategy than the one I was thinking previously (i.e.
load all the files and results in one step).
It's is just a reflexion, but for huge files one solution might be to
split/write
Thanks Rober for your effort - I'll have a look on it
... the goal is be guide in how to proceed (and to understand), and not
to have a "ready-made solution" ... but I appreciate honnestly :-)
Paul
Le 2017-07-06 11:51, Robert Kern a écrit :
> On Thu, Jul 6, 2017 at 1:49 AM, wrote:
>>
>> D
Dear All
First of all thanks for the answers and the information's (I'll ding
into it) and let me trying to add comments on what I want to :
* My asci file mainly contains data (float and int) in a single column
* (it is not always the case but I can easily manage it - as well I
Hi
Thanks for the answer:
ascii file is an input format (and the only one I can deal with)
HDF5 one might be an export one (it's one of the options) in order to
speed up the post-processing stage
Paul
Le 2017-07-05 20:19, Thomas Caswell a écrit :
> Are you tied to ASCII files? HDF5 (vi
Dear all
I'm sorry if my question is too basic (not fully in relation to Numpy -
while it is to build matrices and to work with Numpy afterward), but I'm
spending a lot of time and effort to find a way to record data from an
asci while, and reassign it into a matrix/array … with unsuccessfully!
Hi Brian
First of all thanks for the answer, the explanations and the advices; as
mentioned I've to think differently in order to code with efficiency.
1.: yes 'mat[:,0]=vect0' works fine and I understand why :-)
2. more generally, I've read some tutorials or presentations saying that
Numpy i
Dear All
I'm a like matlab user (more specifically a Scilab one) for years, and
because I've to deal with huge ascii files (with dozens of millions of
lines), I decided to have a look to Python and Numpy, including
vectorization topics.
Obviously I've been influenced by my current feedbacks.
13 matches
Mail list logo