There are several things to keep in mind as you make this decision. The first step to do before you purchase a piano is to evaluate whether it’s likely be for a long-term or a short-term purpose. Are there several potential players in the family? If a parent is already a pianist chances are one family member will play for many years.
With only one potential player, on the other hand, particularly a young child, there is more risk that the instrument will be abandoned after a short while. Therefore you may want to start with a less expensive piano or an electric piano, or even to rent one, and then upgrade to a better instrument when you feel confident that the risk of abandonment has passed.