Guest User

Untitled

a guest
Dec 12th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. import pandas as pd
  2.  
  3. df1 = pd.Series([0, 1, 2, 3])
  4. df2= pd.Series(["A", "B", "C", "D"])
  5.  
  6. df3 = pd.concat([df1, df2], axis=0)
  7.  
  8. 0
  9. 1
  10. 2
  11. 3
  12. A
  13. B
  14. C
  15. D
  16.  
  17. 0
  18. A
  19. 1
  20. B
  21. 2
  22. C
  23. 3
  24. D
Add Comment
Please, Sign In to add comment