dataframe_to_array

Import in python using from mcot.core._scripts.to_dataframe import dataframe_to_array

mcot.core._scripts.to_dataframe.dataframe_to_array(dataframe, names)[source]

Writes a dataframe back to disc

Parameters:
  • dataframe – pandas dataframe with the data
  • names – columns to export
Returns:

(N, M) array for N rows and M columns