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

[Feature Request] Add functions to parse matrices from files #185

Closed
kMutagene opened this issue Mar 10, 2022 · 0 comments
Closed

[Feature Request] Add functions to parse matrices from files #185

kMutagene opened this issue Mar 10, 2022 · 0 comments

Comments

@kMutagene
Copy link
Member

Is your feature request related to a problem? Please describe.
There are no direct parsing functions for reading matrices from files.

Describe the solution you'd like
Add such functions, see for example numpy.loadtxt() for reference

Describe alternatives you've considered
Inefficient workarounds include parsing a dataframe with deedle, and doing some conversions. However, if the aim is to only work with the matrix anyway, this is absolutely unnecessary.

Frame.ReadCsv(myPath)
|> Frame.toJaggedArray
|> Matrix.ofJaggedArray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants