A small airplane crashed into a residential area in northern Sao Paulo on Friday soon after takeoff, the fire department said, killing two people and injuring 12.