-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit of testfiles. * Adding in jarrow java files so we can change them and to respect the LGPL license on them. * A better long term jarrow solution. * Working through more test cases. Found potential issue with lz4 across python and java. * Testing that python can load arrow files written out by tmd. * Cleaning up unit tests. * Finalizing branch. * Small fix * Removing unused file.
- Loading branch information
Showing
11 changed files
with
833 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import pandas as pd | ||
import pyarrow as pa | ||
import pyarrow.feather as feather | ||
|
||
# with pa.ipc.open_stream("test/data/alldtypes.arrow-ipc") as reader: | ||
# df = reader.read_pandas() | ||
|
||
# print(df) | ||
|
||
# feather.write_feather(df, "test/data/alldtypes.arrow-feather") | ||
# feather.write_feather(df, "test/data/alldtypes.arrow-feather-compressed", compression='zstd') | ||
|
||
# df = df.drop(columns=["local_times"]) | ||
|
||
# feather.write_feather(df, "test/data/alldtypes.arrow-feather-v1", version=1) | ||
|
||
|
||
with pa.ipc.open_file("test/data/alldtypes.arrow-file-zstd") as reader: | ||
df = reader.read_pandas() | ||
|
||
|
||
print(df) |
Oops, something went wrong.