Execution Time5.48s

Test: tutorial-pyroot-pyroot002_TTreeAsMatrix-py (Passed)
Build: master-x86_64-ubuntu14-gcc48 (ec-ubuntu-14-04-x86-64-2) on 2020-01-24 00:54:24
Repository revision: 0a6e147b5ead914787494334c6668c77b96f696b

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
/mnt/build/night/LABEL/ROOT-ubuntu14/SPEC/python3/V/master/build/lib/ROOT.py:352: FutureWarning: Instantiating a function template with parentheses ( f(type1, ..., typeN) ) is deprecated and will not be supported in a future version of ROOT. Instead, use square brackets: f[type1, ..., typeN]
  flat_matrix_ptr = _root.ROOT.Internal.RDF.GetVectorAddress(dtype)(flat_matrix)
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]]

Failed to import pandas.