일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- pandas
- SciPy
- index
- keras
- dataframe
- E-P1
- imread
- Lotto
- 삼성소프트웨어멤버십
- pip
- ipad
- Splunk
- SPL
- Button
- GitHub
- GT-S80
- javascript
- DFS
- synology
- Python
- Numpy
- pycharm
- Series
- install
- RNN
- LSTM
- CNN
- 알고리즘
- mariadb
- mean
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