Asia
pandaka
Also written paṇḍaka
Pali (Theravada Buddhist texts)Anuradhapura, Sri Lanka
Historical recordScholarly source
“the term paṇḍaka came to refer to a broad third sex category”
en.wikipedia.org
In brief A Pali term in the Buddhist monastic code (Vinaya) for people whose sex or gender was considered unusual, including intersex people. Commentators such as Buddhaghosa described them very negatively.
Keep in mind: A term from religious law, not a self-identity; its Tamil and other modern uses can be slurs.