troubleshooting Question

Linq Distribution Analysis

Avatar of Waterside
Waterside asked on
.NET Programming
7 Comments2 Solutions91 ViewsLast Modified:
How would I split a query's data into groups to analyse distribution ?

If my data was say integers from 1 to 100, I'd like to get

1-10 count = 6
11-20 count =3
21-30 count = 5
31-40 count = 2 etc

It would be really cool if there was a method to specify the number of groupings for the range of data values.

pseudo for above..  Group at d.Max / 10 (ten groupings)

Any thoughts ?
Join our community to see this answer!
Unlock 2 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros