| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- pip
- imread
- Lotto
- SciPy
- CNN
- Numpy
- Python
- synology
- DFS
- keras
- GitHub
- LSTM
- mean
- mariadb
- Series
- 알고리즘
- install
- GT-S80
- Splunk
- E-P1
- Button
- index
- pandas
- ipad
- 삼성소프트웨어멤버십
- dataframe
- pycharm
- javascript
- RNN
- SPL
Archives
- Today
- Total
잠토의 잠망경
[c#] List flatten 본문
group 하고 그 안에서 가장 큰 것을 찾기
var temp1 =
(from t in temp
group t by new {t.kind01}
into g
select new
{
g.Key,
GList = g.OrderByDescending(z => z.num).First()
}).Select(z => z.GList).ToList();
var temp2 =
(from t in temp
group t by new {t.kind01}
into g
select new
{
GList = g.OrderByDescending(z => z.num).First()
}).ToList();
Comments