-
-
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
- Address issue: https://github.com/rocketlaunchr/dataframe-go/issues… #63
base: master
Are you sure you want to change the base?
Conversation
No problem reading the file with encoding func TestUTF8CSV(t *testing.T) {
fr, err := os.Open("export.csv")
if err != nil {
panic(err)
}
df, err := imports.LoadFromCSV(context.Background(), fr)
if err != nil {
panic(err)
}
out, err := os.Create("export.parquet")
if err != nil {
panic(err)
}
err = exports.ExportToParquet(context.Background(), out, df)
if err != nil {
panic(err)
}
out.Close()
fr, err = os.Open("export.parquet")
source, err := local.NewLocalFileReader("export.parquet")
if err != nil {
panic(err)
}
df, err = imports.LoadFromParquet(context.Background(), source)
if err != nil {
panic(err)
}
fmt.Println(df)
}
|
Can you read it back in python to check if the output file is valid? |
I don't think so, cause idea plugin and here is my python scripts out:
|
I wonder when you used the pull-request branch, it is using the latest (incompatible) version of the parquet parsing package? |
I am sure I am using |
When you tried |
…/62 (Chinese characters and python BOM prefix)