I have a dataframe df with a column called "attributes", shown below 

```
attributes
{"id":1,"firstname":"Joe","lastname":"Lee"}
{"id":12,"firstname":"Brian","lastname":"Li"}
{"id":2,"firstname":"Ron","lastname":"Stein"}

```

How do I split this column into different columns so that my dataframe now looks like - 

```
attributes                                     id    firstname  lastname
{"id":1,"firstname":"Joe","lastname":"Lee"}    1     Joe         Lee
{"id":12,"firstname":"Brian","lastname":"Li"}  12    Brian       Li
{"id":2,"firstname":"Ron","lastname":"Stein"}  2     Ron         Stein

```

I am trying to access each value like 

```
df.attributes.id
df.attributes.firstname

```

But I am unable to! Your help will be appreciated.