Would it be better if it were kept as a dog? ;-)
Seriously though, people keep all kinds of serious baby threats. The most common is dogs. Dogs are carnivores. While most pose no real threat to an adult human (especially if they are the master), many are potential killers of children.
Any dog larger than a baby could easily kill one, should they decide to do so. Even many smaller dogs and house cats could kill a baby, with a bit more effort. Many babies and small children are killed by pets, every year.
Oops, I meant to say “killed or maimed”.
I should have checked before I posted and should have said. How can anyone keep a snake, like a Python as a pet is beyond me. That said, how anyone can keep a snake as a pet is beyond me period
Snakes in the house -- I couldn't find any stats; these morons are in a class by themselves. Also, nothing on housecats, but serious problem with big cats kept as pets, and of course dogs:
Children Killed and Mauled by Big Cats: 47 Reasons To Ban Big Cats as Pets
Wikipedia: Dog attack It is estimated that two percent of the US population, 4.7 million people, are bitten each year. In the 1980s and 1990s the US averaged 17 fatalities per year, while in the 2000s this has increased to 26. Seventy-seven percent of dog bites are from the pet of family or friends, and 50 percent of attacks occur on the dog owner's property.