Execution Time4.91s

Test: tutorial-pyroot-pyroot002_TTreeAsMatrix-py (Passed)
Build: v6-20-00-patches-x86_64-mac1015-clang110-opt (macphsft19.dyndns.cern.ch) on 2020-01-29 01:42:23

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
/Users/sftnight/build/jenkins/night/LABEL/mac10beta/SPEC/cxx17/V/6-20/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.