8000 genfromtxt skip_footer has problems with comments (Trac #1593) · Issue #2189 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
genfromtxt skip_footer has problems with comments (Trac #1593) #2189
Closed
@numpy-gitbot

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/1593 on 2010-08-26 by trac user miguel, assigned to unknown.

It seems that genfromtxt's skip_footer parameter in numpy 1.4.1 ignores lines with comments or data with different layout from previous rows.

print np.genfromtxt(StringIO(4_'1 2\n'+3_'12\n'), skip_header=2, skip_footer=3)
[]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0