ENH: Implemented exportation to csv