Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. splitrows col: column1 on: '\n' quote: '\"'
  2. split col: column1 on: ',' limit: 9 quote: '\"'
  3. replace col: * with: '' on: '\"' global: true
  4. header
  5. delete row: ismissing([Index])
  6. set col: First_Name value: proper(First_Name)
  7. split col: Date_Of_Birth on: '.' limit: 2
  8. set col: Date_Of_Birth3 value: if(len(Date_Of_Birth3) < 4, Date_Of_Birth3 + 1900, Date_Of_Birth3)
  9. merge col: Date_Of_Birth1,Date_Of_Birth2,Date_Of_Birth3 with: '.' as: 'Deate_Of_Birth'
  10. drop col: Date_Of_Birth3
  11. drop col: Date_Of_Birth2
  12. drop col: Date_Of_Birth1
  13. replace col: Small_Shirt_Size with: 'S' on: 'X'
  14. replace col: Medium_Shirt_Size with: 'M' on: 'X'
  15. replace col: Large_Shirt_Size with: 'L' on: 'X'
  16. merge col: Small_Shirt_Size,Medium_Shirt_Size,Large_Shirt_Size as: 'column1'
  17. drop col: Small_Shirt_Size
  18. drop col: Medium_Shirt_Size
  19. drop col: Large_Shirt_Size
  20. rename col: column1 to: 'Shirt_Size'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement