NumPy

numpy.poly1d.variable

property

property poly1d.variable

The name of the polynomial variable