Properly draining the pineapple is crucial to avoid excessive moisture and making the pie too runny. You can do this by using a clean kitchen towel or cheesecloth to gently ring it out. Alternatively, pressing the pineapple into a fine mesh strainer with a spatula will help remove any excess juice.