Skip to content
murmot

Results for “python numpy array append example code java program to input string name site:mail.python.org”

  • mail.python.org

    [Numpy-discussion] [NumPy/Swig] Return NumPy array with same ...

    On Fri, Oct 30, 2015 at 11:15 PM, laurentes < laurentelshafey at gmail.com > wrote: > Using Swig, I don't manage to (properly) create the Python Binding for the > following C-like function: > > void add_array (double* input_array1, double* input_array2, double* > output_array, int length); > > where the three arrays have all the same length ...

  • mail.python.org

    [C++-sig] numpy.ndarray did not match PyArrayObject *?

    I wrapped a c++ code which need accept numpy.ndarray as argument. > Here numpy.version='1.0rc1'. > And to the best of my knowledge, numpy.ndarray's c type is PyArrayObject. > >replace the indicated with the name of NumPy's python type object for ndarray.

  • mail.python.org

    [Tutor] convert array into string - Python

    Aug 30, 2002 · On Fri, 30 Aug 2002, Kyle Babich wrote: > How would I convert something like: > abc = ["abcdef"] > into > abc = "abcdef" > > What I'm actually trying to do is convert a file.readlines () into a > single string and then .split (" "). Is this possible? Yes --- it sounds like you'd like to join all the strings in your list together. The string.join () function is especially good for this ...

  • mail.python.org

    [C++-sig] Simple Boost.Python and NumPy example--help me make ...

    Hi, I've been trying to do something that is I would think is a very common task: I'm trying to expose to Python a C++ class with a member function that inputs an array of data. On the Python side, I would like to use NumPy to store this array of data. I've spent many hours searching online for a simple example, but haven't found one. So, I've finally gotten my own simple example working, but ...

  • mail.python.org

    [Numpy-svn] r6331 - in trunk/numpy/lib: . tests

    Added: trunk/numpy/lib/recfunctions.py trunk/numpy/lib/tests/test_recfunctions.py Log: * added recfunctions, a collection of utilities to manipulate structured arrays.a : array-like + Input array + key : {string, None}, optional + Name of the fields along which to check the duplicates.