root2arrow

command
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

root2arrow converts the content of a ROOT TTree to an ARROW file.

Usage of root2arrow:
  -o string
    	path to output ARROW file name (default "output.data")
  -stream
    	enable ARROW stream (default is to create an ARROW file)
  -t string
    	name of the tree to convert (default "tree")

$> root2arrow -o foo.data -t tree ../../groot/testdata/simple.root
$> arrow-ls ./foo.data
version: V4
schema:
  fields: 3
    - one: type=int32
    - two: type=float32
    - three: type=utf8
records: 1
$> arrow-cat ./foo.data
version: V4
record 1/1...
  col[0] "one": [1 2 3 4]
  col[1] "two": [1.1 2.2 3.3 4.4]
  col[2] "three": ["uno" "dos" "tres" "quatro"]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL