728x90
반응형
Concatenating several dataframes and rearranging index
I concatenated two dataframes but the index number was not rearranged.
The index number of the second datafram ‘rev_co’ was started again.
How can I rearrange the index number so that I can easily handle the new datafram named ‘review’?
We can use `ignore_index = True`,
Now the second datafram is concatenated in order:)
728x90
반응형
'Python_Basic' 카테고리의 다른 글
if __name__ == "__main__": 은 무엇인가요? 쉽게 정리! (0) | 2022.03.21 |
---|---|
for 반복문: 데이터프레임과 함께 사용하기 (0) | 2022.03.20 |
[Python. Seaborn] FacetGrid, PairGrid, PairPlot, kdeplot (0) | 2022.02.24 |