-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Reading from Parquet #46
Comments
I've had lots of people in the past people asking for exporting to parquet, which I implemented. |
Hmmm. I noticed in my TODO list (#17), there had been 3 thumbs up for that request. |
In case it helps, here is some code I wrote to read a parquet file into a DataFrame that you may be able to adapt in the meantime:
Few comments:
Cheers. |
Thanks @khughitt . I need to generalise it so that it works for anything parquet data. |
@pjebs Did you manage to generalise it? Can't get it to work, getting this error. |
@CeciliaCoelho can you show me your code. I was actually waiting for a response to these Qs: xitongsys/parquet-go#360 |
Getting a new error now. This was a CSV that I converted to parquet using python but wanted to open and use in Go because of efficiency. I have this code:
|
The "new" error is because you are trying to sort based on a Series called "datecreated" but you don't have such a field. |
Oh right, didn't notice that. It's running now. Thanks :) |
the function returns a *dataframe.DataFrame object. You can see examples in the Readme. However, when I look at the code, it's not efficient at loading the Dataframe with the data. I need to understand that Parquet package better before I can improve the code. |
Parquet importing is now supported (experimental): @CeciliaCoelho @khughitt @space55 |
Hello,
Are there any plans to support reading a Parquet file into a dataframe? I have a need for this and am evaluating this library to use in an application.
Thanks!
The text was updated successfully, but these errors were encountered: