User Tools

Site Tools


loading_data

Using the CSV module:

import csv
with open('some.csv', 'rb') as f:
    reader = csv.reader(f)
    for row in reader:
        print row

Using pandas dataframe:

import pandas as pd
print pd.read_csv('value.txt')
loading_data.txt · Last modified: 2015/10/03 18:16 by vincenzo