isinstance(df, pd.DataFrame)
isinstance(df, dict)
isinstance(df, list)
squares = {1: 1, 2: 4, 3: 9}
print(type(squares) is dict) # True
print("memory address of type(squares):", id(type(squares)))
print("memory address of dict:", id(dict)) # Should have same ID as type(squares)
my_dict = isinstance({"A":"a", "B":"b", "C":"c", "D":"d"},dict)
print("my_dict is a dict:", my_dict)