일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- RNN
- Lotto
- 삼성소프트웨어멤버십
- GitHub
- mean
- Numpy
- LSTM
- imread
- keras
- E-P1
- install
- GT-S80
- CNN
- Series
- mariadb
- 알고리즘
- synology
- Button
- ipad
- pandas
- dataframe
- pycharm
- javascript
- index
- Python
- SPL
- SciPy
- DFS
- pip
- Splunk
Archives
- Today
- Total
목록Type (2)
잠토의 잠망경
[c#] from DataTable To List<T>
DataTable에서 List 로 변환하기 github using System; using System.Collections.Generic; using System.Data; using System.Reflection; namespace WCF_Util { public class MyConverter { public static List ConvertDataTable(DataTable dt) { List data = new List(); foreach (DataRow row in dt.Rows) { T item = GetItem(row); data.Add(item); } return data; } public static T GetItem(DataRow dr) { Type temp = typeof(T);..
공부/C sharp
2020. 5. 4. 21:08
[Pandas] 데이터 추출(행, Row)-iloc
iloc 속성 활용 Data 순서를 의미하는 행 번호를 활용 -1 은 마지막 행을 의미한다. 존재하지 않는 행 번호는 오류 발생함 loc DataFrame의 Index를 활용함 df.iloc[1] df.iloc[99] df.iloc[-1] #미지막 행 데이터를 추출 print(type(df.iloc[-1])) #Series 여러행 추출하기 list의 형태를 통하여 얻을 수 있음 print(df.iloc[[0,0,99]]) # list를 넘겨준다.
공부/Python
2018. 12. 23. 11:38