liwca.read_dicx

On this page

liwca.read_dicx#

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

Read a binary .dicx file.

Cells must be either X (case-insensitive) or empty. Any other content – including stray numerics like 0.5 or typos like Y – raises a ValueError with a hint pointing at read_dicx_weighted.

Parameters:
Returns:

Validated binary dictionary DataFrame (int8 cells, 0/1).

Return type:

pandas.DataFrame