James Poole
2020-07-02 16:59:26 UTC
I have a data source with the format:
Names Feature 1 Feature 2 Feature 3 ...
bob 1
bob -
bob 0
Linda 0
Linda 1
Linda -
Mary -
Mary 1
Mary 1
...
What I am trying to create is:
Names Feature 1 Feature 2 Feature 3 ...
bob 1 - 0
Linda 0 1 -
Mary - 1 1
...
Can anyone point me in the right direction?
Thanks
James
Names Feature 1 Feature 2 Feature 3 ...
bob 1
bob -
bob 0
Linda 0
Linda 1
Linda -
Mary -
Mary 1
Mary 1
...
What I am trying to create is:
Names Feature 1 Feature 2 Feature 3 ...
bob 1 - 0
Linda 0 1 -
Mary - 1 1
...
Can anyone point me in the right direction?
Thanks
James