Examples
Dataframe to csv:
import numpy as np
import pandas as pd
df = pd.DataFrame({'name': ['Leonardo', 'Michelangelo'],
'mask': ['blue', 'orange'],
'weapon': ['katana', 'nunchaku']})
df.to_csv(index=False)