Zero and too high depth points

I’m using the ORBBEC Gemini E through the python sdk, on macos. I can extract the depth points (referencing the example programs), but often the points jump around anomalously (to zero and some very high values) for no apparent reason. The image below (on the right graph) shows what i’m talking about.

Is there a way to help prevent this?