Unwanted interpolation and points ignored in px.scatter

Also it looks like a and b columns have perfect linear correlation. I donโ€˜t know why you would expect such randomness.
Like I said pleade share a short sample of your data with both columns.