Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 5afcd4a

Browse files
ttekampechrisburr
ttekampe
authored andcommitted
changed the default value of the name of the TTree created by to_root (#42)
* changed the default value of the name of the TTree created by to_root * changed default TTree name in to_root to something more general
1 parent 5300ca0 commit 5afcd4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root_pandas/readwrite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def convert_to_dataframe(array, start_index=None):
239239
return df
240240

241241

242-
def to_root(df, path, key='default', mode='w', store_index=True, *args, **kwargs):
242+
def to_root(df, path, key='my_ttree', mode='w', store_index=True, *args, **kwargs):
243243
"""
244244
Write DataFrame to a ROOT file.
245245

0 commit comments

Comments
 (0)