You can get rid of bitter taste of cucumbers by slicing the cumbers at both ends and rubbing the sliced ends of the cucumbers against the cucumbers to make them less bitter.
Cucumbers contain an organic compound called cucurbitacin which is what makes the cucumbers bitter tasting so when you rub the ends of the cucumbers it removes that organic compound which makes the cucumbers taste less bitter.
It's natural for cucumbers to taste bitter and bitter tasting cucumbers are not harmful but they just don't taste as good.