Missing data: np.nan in a multidimensional Poisson distribution

You can also try to imputate covariates, but it’s a model decision. There’s a good talk on this: Partial Missing Multivariate Observation and What to Do With Them by Junpeng Lao