import pandas as pd

df = pd.read_csv('../london-population.csv')
df = df.melt(id_vars=["gss_code", "district", "component", "sex", "age"], 
        var_name="Date", 
        value_name="Population")
df.to_csv (r'../clean-london.csv', index = None, header=True)

3b3f466c488958d0c97303f7a4ad1ba1426f9b35
<mask token>

<mask token>
df.to_csv('../clean-london.csv', index=None, header=True)

<mask token>
df = pd.read_csv('../london-population.csv')
df = df.melt(id_vars=['gss_code', 'district', 'component', 'sex', 'age'],
    var_name='Date', value_name='Population')
df.to_csv('../clean-london.csv', index=None, header=True)

import pandas as pd
df = pd.read_csv('../london-population.csv')
df = df.melt(id_vars=['gss_code', 'district', 'component', 'sex', 'age'],
    var_name='Date', value_name='Population')
df.to_csv('../clean-london.csv', index=None, header=True)

import pandas as pd

df = pd.read_csv('../london-population.csv')
df = df.melt(id_vars=["gss_code", "district", "component", "sex", "age"], 
        var_name="Date", 
        value_name="Population")
df.to_csv (r'../clean-london.csv', index = None, header=True)
