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