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