Execution Time14.00s

Test: tutorial-pyroot-pyroot002_TTreeAsMatrix-py (Passed)
Build: master-x86_64-centos7-gcc62-opt-no-rt-cxxmodules (olsnba08.cern.ch) on 2019-11-14 01:02:24
Repository revision: 32b17abcda23e44b64218a42d0ca69cb30cda7e0

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Tree content:
[[ 0.  0.]
 [ 1. -1.]
 [ 2. -2.]
 [ 3. -3.]]

Tree converted to a numpy array:
[[ 0.  0.]
 [ 1. -1.]
 [ 2. -2.]
 [ 3. -3.]]

Return numpy array and labels:
['x', 'y']
[[ 0.  0.]
 [ 1. -1.]
 [ 2. -2.]
 [ 3. -3.]]

Mean of the columns retrieved with a numpy method: [ 1.5 -1.5]

Only the content of the branch 'x':
[0. 1. 2. 3.]

Read all branches except 'x':
[ 0. -1. -2. -3.]

Return numpy array with data-type 'int':
[[ 0  0]
 [ 1 -1]
 [ 2 -2]
 [ 3 -3]]

Tree converted to a pandas.DataFrame:
     x    y
0  0.0  0.0
1  1.0 -1.0
2  2.0 -2.0
3  3.0 -3.0