Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: reading headers and footers using loadtxt #28153

Open
giochanturia opened this issue Jan 14, 2025 · 1 comment
Open

ENH: reading headers and footers using loadtxt #28153

giochanturia opened this issue Jan 14, 2025 · 1 comment

Comments

@giochanturia
Copy link

Proposed new feature or change:

numpy.savetxt has header and footer as parameters. It would be nice to have a reverse functionality while loading the file using numpy.loadtxt.

@Tontonio3
Copy link

Hey, probably it is best to add a function line numpy.loadtxt_with_comments (name can change), that with return the comments (Header and Footer are considered comments) too, so you don't lose them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants