File exists but Python says 'not found'.

prerit86 at gmail.com prerit86 at gmail.com
Mon Jul 1 06:57:37 EDT 2013


The variable 'train' is being called like this ->

def main(train='train.csv', test='test.csv', submit='logistic_pred.csv'):    
    print "Reading dataset..."
    train_data = pd.read_csv(train)
    test_data = pd.read_csv(test)

Let me know if I need to post the full code.



More information about the Python-list mailing list