In 2025, pa.INT64
will work in class-based approach.
Just make it like this:
class FacebookAdsSchema(pa.DataFrameModel):
clicks: pa.INT64 = pa.Field(nullable=True, ignore_na=True)
And it will use the pandas' Int64 type that supports NaN values.