liwca.write_dx#

liwca.write_dx(dx, fp, **kwargs)[source]#

Write a dictionary to a LIWC DIC or DICX file.

Parameters:
  • dx (pandas.DataFrame) – The dictionary to write.

  • fp (Union[str, Path]) – The filepath to write the dictionary to.

  • kwargs (Any) – Additional keyword arguments to pass to to_csv.

Return type:

None