From 1361621655f2480caf8b78b06182e64871d94580 Mon Sep 17 00:00:00 2001 From: Jan Kieseler Date: Tue, 10 Sep 2024 09:09:10 +0200 Subject: [PATCH] more options --- bind/G4Calo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bind/G4Calo.py b/bind/G4Calo.py index 53b7edf..2a2c601 100644 --- a/bind/G4Calo.py +++ b/bind/G4Calo.py @@ -401,5 +401,5 @@ def display_event(gd : GeometryDescriptor, -def to_numpy(df_column): - return np.array(df_column.tolist()) \ No newline at end of file +def to_numpy(df_column, dtype=None): + return np.array(df_column.tolist(), dtype=dtype) \ No newline at end of file