Skip to content

Instantly share code, notes, and snippets.

@rzykov
Created October 6, 2021 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rzykov/38ba4b51700a1dd786051a57d05ed631 to your computer and use it in GitHub Desktop.
Save rzykov/38ba4b51700a1dd786051a57d05ed631 to your computer and use it in GitHub Desktop.
val osAovCount = data.filter { x => interestedBrowsers.contains(x.osFamily)}
.filter (_.categoryId == 128)
.map { x => x.osFamily }
.countByValue
.toSeq
draw(column(osAovCount.toList))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment