일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- dataframe
- synology
- mean
- RNN
- 알고리즘
- Lotto
- GitHub
- E-P1
- Numpy
- Button
- index
- GT-S80
- CNN
- Splunk
- ipad
- Python
- javascript
- SPL
- imread
- mariadb
- 삼성소프트웨어멤버십
- keras
- LSTM
- SciPy
- pycharm
- Series
- DFS
- pandas
- install
- pip
Archives
- Today
- Total
목록Keys (1)
잠토의 잠망경
[Pandas] DataFrame To Series 뽑아내기
DataFrame에서 Series 추출(loc) loc 속성을 이용하여 원하는 index를 지정후 추출 import pandas as pd from collections import OrderedDict s = pd.DataFrame({ 'Address':['Seoul','Asan'], 'occupation':['doctor','IT'], 'Born':['1981-01-10','1999-11-02'], 'Died':['2100-01-10','2099-01-02'], 'Age':[40,20]}, index=['a&#..
공부/Python
2018. 12. 23. 15:41