<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def table_to_root(table, filename, **kwargs):
 """Write a Table to a ROOT file """

    import root_numpy
    root_numpy.array2root(table.as_array(), filename, **kwargs)