I have a dataframe 'data':
Name  Computer  Data
Joe       MAC     10
Joe       HP       5
Jackson   MAC     20
Jackson   HP      15
I want to use the Computer names as column headers in a new df:
Name     MAC       HP
Joe       10       5
Jackson   20      15   
There are duplicate values so that may be an issue
data = pd.DataFrame({'Name':['Joe','Joe','Jackson','Jackson'],'Computer':['MAC','HP','MAC','HP'],'Data':[10,5,20,15]})
EDIT: I tried the reshapes on the trivial example and it works. However it doesn't work on my actual data since it's complaining about duplicates. I will have to dig deeper
 
    
 
    