I have dict data in a pandas column and I am attempting to assign values to a new column from the dict . import pandas as pd df = pd.DataFrame({'n': [np.nan, np.nan], 'd': [{'status': {'version': '1.0.0'}, 'p': [{'identifier': {'Id': 5155, 'fips': '07', 'aId': 5175}, 'lt': {'ltnum': '14', 'ls1': 0.1485537, 'ls2': 6471, 'ptype': 'NO'}}]}, np.nan] }) When I try: df['n'].fillna(df['d'].str['p'][0][0]['lt']['ls1'], inplace=True) I get a: TypeError: 'float' object is not subscriptable by kms in StackOverflow on July 03, 20...