I try to rename the column after i converted the dictionary to dataframe, but there is an error showing…my code is wrong?
Screen Link: https://app.dataquest.io/m/469/guided-project%3A-popular-data-science-questions/7/most-used-and-most-viewed
My Code:
tag_count=pd.DataFrame.from_dict(tag_count,orient='index')
tag_count.rename(columns={0: "Count"}, inplace=True)
tag_count.head(10)
What actually happened:
TypeError: 'numpy.ndarray' object is not callable