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

changed the default value of the name of the TTree created by to_root #42

Merged
merged 2 commits into from
Oct 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion root_pandas/readwrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def convert_to_dataframe(array, start_index=None):
return df


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

Expand Down