Use TM1py to extract data, run machine learning code or write complex financial algorithms, using Python on TM1 and IBM Planning Analytics.