Actually, those were not warriors. Note the listings of the Stength of the belligerents in the information box, on the right of the article (on the right as seen in a PC browser):
>> 3,000–8,000 unarmed personal attendants/lightly armed guards [2]
The opening paragraph of the wikipedia article also makes it clear that the "battle" was more like a slaughter:
>> The Battle of Cajamarca also spelled Cajamalca[4][5] (though many contemporary scholars prefer to call it Massacre of Cajamarca)[6][7][8] was the ambush and seizure of the Inca ruler Atahualpa by a small Spanish force led by Francisco Pizarro, on November 16, 1532. The Spanish killed thousands of Atahualpa's counselors, commanders, and unarmed attendants in the great plaza of Cajamarca, and caused his armed host outside the town to flee.