The girl was struck in the neck by a stray bullet in Feltonville on the 4800 block of B street Saturday night.
She remains in critical condition.
Police say 19-year-old Thomas Kyle Munson III and 21-year-old Alrick Morgan opened fire during an argument.
The 3-year-old girl was the only gunshot victim.
The two are charged with attempted murder, aggravated assault, and other related offenses.