image.png
    image.png

    1. In [52]: df = pd.read_csv('examples/ex1.csv')
    2. In [53]: df
    3. Out[53]:
    4. a b c d message
    5. 0 1 2 3 4 hello
    6. 1 5 6 7 8 world
    7. 2 9 10 11 12 foo
    8. In [54]: pd.read_table('examples/ex1.csv', sep=',')
    9. Out[54]:
    10. a b c d message
    11. 0 1 2 3 4 hello
    12. 1 5 6 7 8 world
    13. 2 9 10 11 12 foo
    14. In [55]: pd.read_csv('examples/ex2.csv')
    15. Out[55]:
    16. 1 2 3 4 hello
    17. 0 5 6 7 8 world
    18. 1 9 10 11 12 foo
    19. In [56]: pd.read_csv('examples/ex2.csv', header=None)
    20. Out[56]:
    21. 0 1 2 3 4
    22. 0 1 2 3 4 hello
    23. 1 5 6 7 8 world
    24. 2 9 10 11 12 foo