The Spotfire Data Canvas should support transforming data with Python or R code that's added directly to the data canvas pipeline. With a couple of clicks you should be able to paste your Python or R code directly into a new data function which is added to your pipeline.