Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 프로그래머스
- 자연어처리
- gs25
- 더현대서울 맛집
- Docker
- Baekjoon
- 코로나19
- Kaggle
- 편스토랑
- hackerrank
- 우분투
- 프로그래머스 파이썬
- PYTHON
- 캐치카페
- 금융문자분석경진대회
- ChatGPT
- Git
- github
- dacon
- 파이썬
- 맥북
- 편스토랑 우승상품
- SW Expert Academy
- programmers
- ubuntu
- AI 경진대회
- 백준
- Real or Not? NLP with Disaster Tweets
- 데이콘
- leetcode
Archives
- Today
- Total
목록
반응형
2020/11/09 (2)
반응형
솜씨좋은장씨
[leetCode] 867. Transpose Matrix (Python)
Given a matrix A, return the transpose of A. The transpose of a matrix is the matrix flipped over it's main diagonal, switching the row and column indices of the matrix. Example 1: Input: [[1,2,3],[4,5,6],[7,8,9]] Output: [[1,4,7],[2,5,8],[3,6,9]] Example 2: Input: [[1,2,3],[4,5,6]] Output: [[1,4],[2,5],[3,6]] Note: 1
Programming/코딩 1일 1문제
2020. 11. 9. 18:49
[Python] Pandas ValueError: cannot reindex from a duplicate axis 원인과 해결방법
pandas를 활용하여 읽어온 csv 파일에서 특정 column에 대한 중복값을 제거하기 위하여 아래와 같이 먼저 파일을 엑셀에서 읽어온 후 import pandas as pd data = pd.read_excel("./42_nia_pqa_QueryTemplate.xlsx") data_fillna = data.fillna(0.0) data_fillna_dropna = data_fillna[data_fillna['property'] != 0.0] data_fillna_dropna.head() 특정 값 이외의 값만 남기기 위하여 위와 같이 코드를 실행하였으나 --------------------------------------------------------------------------- ValueErr..
Programming/Python
2020. 11. 9. 14:42
반응형