DIF (.dif) File Format
Data Interchange Format
Description
Examples
Compatibility
DIF (Data Interchange Format) is a text-based file format for spreadsheet and tabular data. It is now primarily used for data exchange between spreadsheet programs.
The general-purpose commands Import and Export also support this format.
The default output from Import for this format is a DataFrame. To produce a Matrix, use Import(...,output=Matrix).
Import data from an DIF spreadsheet on historical Maple release dates.
Import⁡example/timeline.dif,base=datadir
Import the same data as a Matrix.
Import⁡example/timeline.dif,base=datadir,output=Matrix
Export a random matrix to a DIF spreadsheet in the home directory of the current user.
M≔LinearAlgebra:-RandomMatrix⁡100,2:
Export⁡example.dif,M,base=homedir
2482
With Maple 2016, the Import command applied to DIF files now produces DataFrame objects by default.
See Also
ExportMatrix
Formats
ImportMatrix
Download Help Document