Differences between revisions 1 and 2
Revision 1 as of 2020-04-08 15:48:30
Size: 513
Editor: Burathar
Comment:
Revision 2 as of 2020-04-08 15:53:19
Size: 641
Editor: Burathar
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
path = '/Path' path = '/path/to/file(s)'
Line 27: Line 27:
import pandas as pd df = pd.read_csv(path + 'name.csv', sep=';', header=0, dtype={'Force String Column': str}, parse_dates=['Date Column'] encoding='utf-8')

Description

Pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of the Python programming language.

Snippets

Standard import

   1 import numpy as np
   2 import pandas as pd

Read CSV file

   1 path = '/path/to/file(s)'
   2 import pandas as pd

   1 import numpy as np
   2 df = pd.read_csv(path + 'name.csv', sep=';', header=0, dtype={'Force String Column': str}, parse_dates=['Date Column'] encoding='utf-8')

Howto/Python3/pandas (last edited 2020-04-08 17:13:18 by Burathar)