text_html_output_1.png
import numpy as np # linear algebra library

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

quartet = pd.read_csv('../input/quartet.csv', index_col='id')

df = pd.read_csv('../input/raw_lemonade_data.csv')

df['Revenue'] = df['Price'] * df['Sales']

df['Price'] = df.Price.str.replace('$', '').replace(' ', '')
df.Price = df.Price.astype(np.float64)

df.Revenue = df.Price * df.Sales
df