Need help with Adafruit VCNL4000 Proximity/Light Sensor

to find the displacement using this sensor.

What do you mean by "displacement" ?
All the specs are on the datasheet . Did you read the datasheet ?