일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- gas
- Github
- math
- Google Excel
- Apache
- PySpark
- Google Spreadsheet
- django
- Tkinter
- Mac
- Python
- string
- hive
- PANDAS
- array
- list
- c#
- dataframe
- google apps script
- Redshift
- Java
- PostgreSQL
- SQL
- Excel
- GIT
- 파이썬
- numpy
- matplotlib
- Kotlin
- Today
- Total
목록Merge (2)
달나라 노트
git을 사용하다보면 여러 개의 branch를 하나로 합치거나, 다른 remote repository로부터 pull을 하고 merge를 하는등 여러 merge를 하는 상황이 발생할 수 있습니다. 하지만 branch들의 수정사항이 충돌하여 merge가 실패하는 등 여러가지 사유로 merge에 실패할 때가 있습니다. 이런 경우 실패 원인을 찾아 해결할 수도 있지만, 진행중인 merge가 있는 경우는 commit, push 등이 불가한 경우가 있어서 현재 진행중인 merge 자체를 취소해야할 때가 있죠. git merge error 예시 Automatic merge failed; fix conflicts and then commit the result. git merge error 예시 Automatic me..
DataFrame.merge sql에서의 window function과 비슷한 기능을 pandas에서 어떻게 사용할 수 있는지를 알아봅시다. 먼저 test용 DataFrame을 생성합니다. import pandas as pd dict_name = { 'item_id': [1, 2, 4], 'item_name': ['a', 'b', 'd'] } dict_price = { 'item_id': [1, 2, 3], 'price': [1000, 2000, 3000] } df_name = pd.DataFrame(dict_name) df_price = pd.DataFrame(dict_price) print(df_name) print(type(df_name)) print(df_price) print(type(df_pr..