ValueError: design matrix must be real-valued floating point

It might also be relevant how you import your data. Is it from text/csv, from excel, from a database? even if the var’s in pymc_data look like numbers, it might be they have the wrong data type.