# HG changeset patch # User bhanu # Date 1289811645 -19800 # Node ID 5cc7bcce8de4daea78c151dac395cb8ca09cdcaf # Parent 4bd18f0f31795b8c1d5881de46da523ac9e5cbd3 Language check done for `data parsing` diff -r 4bd18f0f3179 -r 5cc7bcce8de4 additional_ipython/script.rst --- a/additional_ipython/script.rst Mon Nov 15 14:18:01 2010 +0530 +++ b/additional_ipython/script.rst Mon Nov 15 14:30:45 2010 +0530 @@ -18,7 +18,7 @@ Internal Reviewer : Amit External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <15-11-2010, Anand, OK> [2010-10-05] Script ------ diff -r 4bd18f0f3179 -r 5cc7bcce8de4 parsing_data/script.rst --- a/parsing_data/script.rst Mon Nov 15 14:18:01 2010 +0530 +++ b/parsing_data/script.rst Mon Nov 15 14:30:45 2010 +0530 @@ -13,8 +13,9 @@ .. 1. Getting started with lists .. Author : Nishanth Amuluru - Internal Reviewer : + Internal Reviewer : Amit External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script @@ -37,7 +38,7 @@ #[Puneeth]: I don't like the way the term "parsing data" has been used, all through the script. See if that can be changed. - Lets us have a look at the problem + Let us have a look at the problem {{{ Show the slide containing problem statement. }}} @@ -48,9 +49,9 @@ As you can see, each record consists of fields seperated by a ";". The first record is region code, then roll number, then name, marks of second language, first language, maths, science and social, total marks, pass/fail indicatd by P -or F and finally W if with held and empty otherwise. +or F and finally W if withheld and empty otherwise. -Our job is to calculate the mean of all the maths marks in the region "B". +Our job is to calculate the arithmetic mean of all the maths marks in the region "B". #[Nishanth]: Please note that I am not telling anything about AA since they do not know about any if/else yet. @@ -143,7 +144,7 @@ white space. The only road block we now have is conversion of string to float. The splitting and stripping operations are done on a string and their result is -also a string. hence the marks that we have are still strings and mathematical +also a string. Hence the marks that we have are still strings and mathematical operations are not possible on them. We must convert them into numbers (integers or floats), before we can perform mathematical operations on them.