bandicoot.io.
to_csv
(objects, filename, digits=5, warnings=True)¶Export the flatten indicators of one or several users to CSV.
Parameters: |
|
---|
Examples
This function can be used to export the results of :meth`bandicoot.utils.all`. >>> U_1 = bc.User() >>> U_2 = bc.User() >>> bc.to_csv([bc.utils.all(U_1), bc.utils.all(U_2)], ‘results_1_2.csv’)
If you only have one object, you can simply pass it as argument: >>> bc.to_csv(bc.utils.all(U_1), ‘results_1.csv’)