Assuming you want to perform column-wise subtraction of two columns in a Pandas DataFrame:
main.py447 chars20 lines
This will create a new column 'C' in the DataFrame which will contain the result of performing subtraction of values in column 'A' from values in column 'B'.
gistlibby LogSnag