maxframe.liteframe.LiteFrame.list.flatten#

LiteFrame.list.flatten()#

Flatten a list column into one row per element.

Mirrors pandas.Series.list.flatten: each element of a list becomes its own row. Empty lists and missing values are dropped. The result keeps the column name and uses the list’s value type.

Returns:

Single-column LiteFrame with one row per list element, using the list’s value dtype and keeping the original column name.

Return type:

LiteFrame