Let's use the pint package to convert a table from Fahrenheit to Celsius.
# Click the Green Plane to transform this into a CrossCompute Tool
temperature_in_fahrenheit_table_path = 'temperature-in-fahrenheit.csv'
target_folder = '/tmp'
import subprocess
subprocess.call('pip install pint'.split())
from pandas import read_csv
t = read_csv(temperature_in_fahrenheit_table_path)
t['Temperature in Fahrenheit'].values
from pint import UnitRegistry
u = UnitRegistry()
x = (t['Temperature in Fahrenheit'].values * u.delta_degF).to(u.delta_degC)
x.magnitude
t['Temperature in Celsius'] = x.magnitude
from os.path import join
target_path = join(target_folder, 'temperatures.csv')
t.to_csv(target_path, index=False)
print('temperature_in_celsius_table_path = %s' % target_path)
Thanks to Hernan E. Grecco for creating pint.