Skip to main content
Solved

Remove user with more than 1 row

  • May 12, 2018
  • 4 replies
  • 14 views

Forum|alt.badge.img

how should I do if I want to pick out the userID with 1 row only. For example

USerID Long Lat Count

 

001 1 1 20

 

001 2 2 1

 

002 3 3 5

 

003 4 4 20

 

003 5 5 6

 

004 6 6 9

 

I need to pick out the userID 002 and 004 and keep all attributes

Best answer by takashi

Hi @s3585629, the StatisticsCalculator could be an easy way.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

takashi
Celebrity
  • 7843 replies
  • Best Answer
  • May 12, 2018

Hi @s3585629, the StatisticsCalculator could be an easy way.


Forum|alt.badge.img
  • Author
  • 6 replies
  • May 13, 2018

Hi @s3585629, the StatisticsCalculator could be an easy way.

Thank @takashi. I tried the StatisticsCalculator but the output contain only UserID and _count, not as my wish. I used FeatureCount then Test with count=1 then it works

 


takashi
Celebrity
  • 7843 replies
  • May 13, 2018

Hi @s3585629, the StatisticsCalculator could be an easy way.

I suspect that you are looking at the features output from the Summary port of the StatisticsCalculator. Have a look at the features output from the Complete port.

 

 


Forum|alt.badge.img
  • Author
  • 6 replies
  • May 13, 2018

Hi @s3585629, the StatisticsCalculator could be an easy way.

Wow, my mis-reading. Thx Takashi