write

Cartesian.write(outputfile, sort_index=True)[source]

Writes the Cartesian into a file.

If sort_index is true, the frame is sorted by the index before writing.

Note

Since it permamently writes a file, this function is strictly speaking not sideeffect free. The frame to be written is of course not changed.

Parameters:
  • outputfile (str) –
  • sort_index (bool) –
Returns:

None

Return type:

None