spmviz.io.write_spmf#

spmviz.io.write_spmf(db, path, timestamps=False)[source]#

Write a database in SPMF format.

Non-integer items are coded 1, 2, … and written as @CONVERTED_FROM_TEXT with @ITEM lines, which SPMF reads back with the original names.

Examples using spmviz.io.write_spmf#

Import and export: pandas, SPMF, networkx, Gephi, Cytoscape

Import and export: pandas, SPMF, networkx, Gephi, Cytoscape