| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- CNN
- SPL
- mariadb
- Series
- dataframe
- E-P1
- Python
- LSTM
- SciPy
- DFS
- pip
- GitHub
- Button
- keras
- RNN
- 삼성소프트웨어멤버십
- Splunk
- 알고리즘
- Numpy
- index
- imread
- mean
- pycharm
- synology
- install
- pandas
- javascript
- GT-S80
- ipad
- Lotto
Archives
- Today
- Total
목록Python (25)
잠토의 잠망경
[Pandas] 데이터 불러오기(기본)
데이터 불러오기 csv를 읽어 들이는 방법 import pandas as pd df = pd.read_csv('input.csv', sep=',') # sep='\t' Series, DataFrame Series와 DataFrame은 다음과 같이 정의할 수 있다. DataFrame: Excel의 Sheet Series : Column, Excel의 한 열 DataFrame 앞 혹은 뒤 5줄 확인 head(), tail()을 통하여 thumbnail 식으로 확인 할 수 있다. print(df.head()) # df.head(n=5) 5개 출력 print(type(df)) # DataFrame print(df.tail()) # df.tail(n=5) 하위 5개 출력..
공부/Python
2018. 12. 16. 20:32