Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
16
plugins/parsers/parquet/testcases/dense/generate.py
Normal file
16
plugins/parsers/parquet/testcases/dense/generate.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env python
|
||||
import pandas
|
||||
import pyarrow
|
||||
import pyarrow.parquet
|
||||
|
||||
df = pandas.DataFrame({
|
||||
'tag': ["row1", "row1", "row1", "row1", "row1", "row1", "row1"],
|
||||
'float_field': [64.0, 65.0, 66.0, 67.0, 68.0, 69.0, 70.0],
|
||||
'str_field': ["a", "b", "c", "d", "e", "f", "g"],
|
||||
'timestamp': [
|
||||
1710683695, 1710683695, 1710683695, 1710683695, 1710683695,
|
||||
1710683695, 1710683695,
|
||||
]
|
||||
})
|
||||
|
||||
pyarrow.parquet.write_table(pyarrow.Table.from_pandas(df), "input.parquet")
|
Loading…
Add table
Add a link
Reference in a new issue