반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- Tkinter
- django
- PostgreSQL
- array
- string
- Kotlin
- gas
- PySpark
- Google Excel
- GIT
- google apps script
- c#
- hive
- list
- Redshift
- Apache
- SQL
- Mac
- numpy
- Python
- PANDAS
- Java
- matplotlib
- math
- dataframe
- 파이썬
- Github
- Excel
- Google Spreadsheet
Archives
- Today
- Total
목록ignore_index (1)
달나라 노트
Python Pandas : concat (Series 합치기, DataFrame 합치기)
Pandas의 concat은 두 개 이상의 Series를 합치거나, 두 개 이상의 DataFrame을 합쳐줍니다. import pandas as pd list_test_1 = [1, 2, 3] list_test_2 = [4, 5, 6] list_test_3 = [7, 8, 9] seri_test_1 = pd.Series(list_test_1) seri_test_2 = pd.Series(list_test_2) seri_test_3 = pd.Series(list_test_3) print(seri_test_1) print(seri_test_2) print(seri_test_3) - Output 0 1 1 2 2 3 dtype: int64 0 4 1 5 2 6 dtype: int64 0 7 1 8 2 9 dty..
Python/Python Pandas
2021. 1. 5. 18:30