python is dict code example
Example 1: check if is dictionary
isinstance(df, pd.DataFrame)
isinstance(df, dict)
isinstance(df, list)
Example 2: dicts python
thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
x = thisdict["model"]
print(x)
---------------------------------------------------------------------------
Mustang