If your data has NaN-valued columns, Pandas provides a datatype specifically for representing them - called the Sparse datatype.
Datatype For Handling Missing Valued Columns…
If your data has NaN-valued columns, Pandas provides a datatype specifically for representing them - called the Sparse datatype.