Baking sweet potatoes are generally considered the better method for making sweet potato pies. Baking allows sweet potatoes to cook evenly and become tender without becoming waterlogged, which can happen when they are boiled. Additionally, baking sweet potatoes will help to concentrate their flavor and sweetness, which can enhance the overall taste of the pie.