Writes the Cartesian into a file.
If sort_index is true, the frame is sorted by the index before writing.
Since it permamently writes a file, this function is strictly speaking not sideeffect free. The frame to be written is of course not changed.
- outputfile (str) –
- sort_index (bool) –