I want a webpage in django that accepts csv file from the user and need to process that data.could you please help me
Asked
Active
Viewed 447 times
-1
-
2You should to regard what you have tried. – SaidbakR Jun 12 '17 at 19:01
1 Answers
1
http://docs.python.org/library/csv.html
Python has builtin library to parsing csv file and process data of csv file according to your logic

Neeraj Kumar
- 3,851
- 2
- 19
- 41
-
-
If you want to save csv file data to model then add model structure in your question. I'll update my answer according to model – Neeraj Kumar Jun 12 '17 at 19:12
-
i want a simple webpage with csv file upload and to find the mean of all the data of that file. – user8150706 Jun 12 '17 at 19:14
-
could me please help with the code for the above problem.i will be thankful to you in advance – user8150706 Jun 12 '17 at 19:31
-
Can you give me example of data you have in csv file ? Check this question can solve your problem https://stackoverflow.com/questions/29634463/find-the-median-from-a-csv-file-using-python?answertab=active#tab-top – Neeraj Kumar Jun 12 '17 at 19:34
-
The csv file contains just integer data and i want to access that data atleast to find mean of all data .this needs to be done in django .could you please provide me the code – user8150706 Jun 13 '17 at 07:39