I know. Had I written the code, I would have not done this. I just wanted to
get some initial results by leveraging this code. I would now build on this to
improve my work's accuracy.
Thanks for the inputs!
--
http://mail.python.org/mailman/listinfo/python-list
On 07/01/2013 07:00 AM, preri...@gmail.com wrote:
I got it. The working directory was different. Sorry, I'm new and didn't the
working directory has to be the location of the data. I thought the location of
.py file and data file should be same. Thanks! Es. Robert Kern.
Python didn't make th
My answers
I think Robert wanted to know how you started the program.
What instruction do you use to launch?
- used command c:\python27\python.exe c:\project_1\code.py
In what directory are you launching your program?
- working directory was c:
- python is in c:\python27
- code was in c:\projec
Op 01-07-13 12:57, preri...@gmail.com schreef:
> 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
I got it. The working directory was different. Sorry, I'm new and didn't the
working directory has to be the location of the data. I thought the location of
.py file and data file should be same. Thanks! Es. Robert Kern.
--
http://mail.python.org/mailman/listinfo/python-list
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.
--
http://mail.python.
Op 01-07-13 12:47, preri...@gmail.com schreef:
> I'm running this code that reads 2 csv files (one of them is train.csv). The
> code gives an error saying 'file not does not exist'. However, the file does
> exists in the same location as the .py file. Can someone please help me on
> this. Thanks
On 2013-07-01 11:47, preri...@gmail.com wrote:
I'm running this code that reads 2 csv files (one of them is train.csv). The
code gives an error saying 'file not does not exist'. However, the file does
exists in the same location as the .py file. Can someone please help me on
this. Thanks!
Ho
I'm running this code that reads 2 csv files (one of them is train.csv). The
code gives an error saying 'file not does not exist'. However, the file does
exists in the same location as the .py file. Can someone please help me on
this. Thanks!
Code Output-->
Reading dataset...
Traceback (most r