python - Compare two columns using pandas - Stack Overflow
stackoverflow.com › questions › 27474921Dec 15, 2014 · Using this as a starting point: a = [['10', '1.2', '4.2'], ['15', '70', '0.03'], ['8', '5', '0']] df = pd.DataFrame(a, columns=['one', 'two', 'three']) Out[8]: one ...