Question: I have some JSON that I have specifically put inside a variable for this question.

Here is my json:

```
{"json":{"-K-dxZZVLv4N11BQ-tEJ":{"AssetID":1},"-K-dxwm5y1hVS68GyMhN":{"AssetID":2}}}

```

Here is what I tried:

```
var url = "https://rbxjson.firebaseio.com/catalog.json";
var recent;
$.getJSON(url, function (json) {
recent = Object.keys(json["json"])[0]["AssetID"];
alert(recent);
});

```

I'm trying to access the value of "AssetID" in "{"AssetID":1}" but I tried the above code and it doesn't work.

Answer: 
I had similar problem because my *pandas.DataFrame* had elements of type *Object* in a column I wanted to plot (*my\_column*). So that the command:

```
print(df[my_column])

```

gave me:

```
Length: 150, dtype: object

```

The solution was 

```
sns.distplot(df[my_column].astype(float))

```

As the datatype of *my\_column* transformed to:

```
Length: 150, dtype: float64

```

[![enter image description here](https://i.stack.imgur.com/kVLnj.png)](https://i.stack.imgur.com/kVLnj.png)
Let's assume I have the excerpt from the data you have showed above (with only difference that on my machine `NAN` is `NaN`).

Then, the best graphical representation I can think of is grouped barplot: one group for every sample, within every group there are gene bars (some people call this histogram occasionally)

In order to do that, you need first to "melt" your data, in `R` parlour, i.e. make it "long". Then, you can proceed with plotting.

```
data = df.set_index('GEN').unstack().reset_index()
data.columns = ['sample','GEN', 'value']

sns.set(style="white")
g = sns.factorplot(x='sample'
                   ,y= 'value'
                   ,hue='GEN'
                   ,data=data
                   ,kind='bar'
                   ,aspect=2
                   )
g.set_xticklabels(rotation=30);

```

[![enter image description here](https://i.stack.imgur.com/6gmiQ.png)](https://i.stack.imgur.com/6gmiQ.png)

Please, let us know if this is the type of plot you were after.