liwca.read_dicx_weighted

On this page

liwca.read_dicx_weighted#

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

Read a weighted .dicx file.

Cells must be numeric or empty (treated as 0.0). Any non-numeric content – including the binary marker X – raises a ValueError with a hint pointing at read_dicx.

Parameters:
Returns:

Validated weighted dictionary DataFrame (float64 cells; signed allowed).

Return type:

pandas.DataFrame