오답 노트/파이썬 에러코드

concat 함수

히니1008 2022. 7. 28. 09:43

1.

<class 'pandas.core.frame.DataFrame'>
RangeIndex: 23 entries, 0 to 22
Data columns (total 5 columns):

 

2.

‘DataFrame’ object has no attribute ‘sort’

 

AttributeError: 'DataFrame' object has no attribute 'to_datetime'

tweets_df['Time'] = pd.to_datetime(tweets_df['Time'])

 

3.

The problem is that there are spaces in your column names; here is what I get when I save your data and load the dataframe as you have done: