1.2.11.1.2. patsy.ModelDesc.describe

ModelDesc.describe()[source]

Returns a human-readable representation of this ModelDesc in pseudo-formula notation.

Warning

There is no guarantee that the strings returned by this function can be parsed as formulas. They are best-effort descriptions intended for human users. However, if this ModelDesc was created by parsing a formula, then it should work in practice. If you really have to.