Can readPixels read NaN values?

I’ve looking into “RasterDataNode (SNAP Engine API)”'s readPixels (for float arrays)
However I noticed that this appears to be converting NaN values to 0.00000 instead of keeping the NaN value.
My objective here is to convert each pixel in the SNAP raster to become elements of a python data frame (numpy).
Is there a readPixels method that can support NaN values or is there a better way for me to translate the values of a Raster to a python data frame?

readPixels should actually provide you the NaN value.

Can you show information about the data you are trying to read?
For example, open the data in SNAP Desktop and show the Information dialog of the respective band.