Create some python code that uses pandas to create sample data for the following Python code. 

import pandas as pd

df = pd.read_csv(city.csv)

df['state'] = df['state'].apply(lambda x: x.upper())
df['city'] = df['city'].apply(lambda x: x.title())
print(df)