일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Button
- imread
- synology
- javascript
- dataframe
- Python
- pandas
- CNN
- GitHub
- keras
- DFS
- 삼성소프트웨어멤버십
- pycharm
- mean
- ipad
- E-P1
- RNN
- GT-S80
- Numpy
- pip
- LSTM
- index
- SPL
- SciPy
- Series
- Lotto
- Splunk
- mariadb
- install
- 알고리즘
Archives
- Today
- Total
목록columns (1)
잠토의 잠망경
[Pandas] Data 만들기(Series, DataFrame)
Series 만들기 가장 단순한 방식, index 지정 안함 import pandas as pd s = pd.Series(['a',42]) print(s) print(type(s)) output >>> print(s) 0 a 1 42 dtype: object >>> print(type(s)) Series 만들기, index를 지정 import pandas as pd s = pd.Series(['a',42],index=['name','age']) print(s) print(type(s)) output >>> print(s) name a age 42 dtype: object >>> print(type(s)) DataFrame 만들기 import pan..
공부/Python
2018. 12. 23. 15:33