Hi @Subham_Modi,
the drop
function removes specified columns from result of your query.
If you want to delete data, you should use DeleteApi - InfluxDB v2 API documentation. Something like this:
client = InfluxDBClient(url="http://localhost:9999", token="my-token", org="my-org")
delete_api = client.delete_api()
delete_api.delete('1970-01-01T00:00:00Z', '2020-04-27T00:00:00Z', '_measurement="my-measurement"', bucket="my-bucket", org="my-org")
Regards