Thanks to visit codestin.com
Credit goes to github.com

Skip to content

savetxt doesn't handle recarrays with substructures. (Trac #1744) #2339

@numpy-gitbot

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/1744 on 2011-02-17 by @fengy-research, assigned to unknown.

test case:

ar = zeros(dtype=[('pos', ('f4', 3)), ('vel', ('f4', 3))], shape=10)

savetxt("ar", ar)

TypeError: float argument required, not numpy.ndarray.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions