From 4d7d93f0d55bdf3c9d227d7af2e913e985227801 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Fri, 12 Nov 2010 00:36:35 +0530 Subject: Language check done for `getting started with lists` --- getting-started-with-lists/script.rst | 39 +++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/getting-started-with-lists/script.rst b/getting-started-with-lists/script.rst index 4e11d0a..628297f 100644 --- a/getting-started-with-lists/script.rst +++ b/getting-started-with-lists/script.rst @@ -22,6 +22,7 @@ .. Author : Amit Internal Reviewer : Anoop Jacob Thomas External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] .. #[[Anoop: Slides contain only outline and summary @@ -44,9 +45,9 @@ structure called lists. We will learn :: * Append elements to lists * Delete elements from lists -List is a compound data type, it can contain data of other data -types. List is also a sequence data type, all the elements are in -order and the order has a meaning. +List is a compound data type, it can contain data of mutually +different datatypes. List is also a sequence data type, all the +elements are arranged in a given order. .. #[[Anoop: "all the elements are in order and **there** order has a meaning." - I guess something is wrong here, I am not able to @@ -69,13 +70,13 @@ Lets now see how to define a non-empty list. We do it as,:: nonempty = ['spam', 'eggs', 100, 1.234] Thus the simplest way of creating a list is typing out a sequence -of comma-separated values (items) between square brackets. -All the list items need not be of the same data type. +of comma-separated values (or items) between two square brackets. As we can see lists can contain different kinds of data. In the -previous example 'spam' and 'eggs' are strings and 100 and 1.234 are -integer and float. Thus we can put elements of heterogenous types in -lists including list itself. +previous example 'spam' and 'eggs' are strings whereas 100 and 1.234 are +integer and float respectively. Thus we can put elements of different types in +lists including lists itself. This property makes lists heterogeneous +data structures. .. #[[Anoop: the sentence "Thus list themselves can be one of the element types possible in lists" is not clear, rephrase it.]] @@ -84,9 +85,10 @@ Example :: listinlist=[[4,2,3,4],'and', 1, 2, 3, 4] -We access list elements using the index. The index begins from 0. So -for list nonempty, nonempty[0] gives the first element, nonempty[1] -the second element and so on and nonempty[3] the last element. :: +We access an element of a list using its corresponding index. Index of +the first element of a list is 0. So for the list nonempty, nonempty[0] +gives the first element, nonempty[1] the second element and so on and +nonempty[3] the last element. :: nonempty[0] nonempty[1] @@ -112,9 +114,9 @@ In python negative indices are used to access elements from the end:: nonempty[-4] -1 gives the last element which is the 4th element , -2 second to last -and -4 gives the fourth from last element which is first element. +and -4 gives the fourth from the last which, in this case, is the first element. -We can append elements to the end of a list using append command. :: +We can append elements to the end of a list using the method append. :: nonempty.append('onemore') nonempty @@ -134,10 +136,10 @@ Please, pause the video here. Do the exercise and then continue. The solution is on your screen -As we can see non empty appends 'onemore' and 6 at the end. +As we can see nonempty is appended with 'onemore' and 6 at the end. Using len function we can check the number of elements in the list -nonempty. In this case it 6 :: +nonempty. In this case it is 6 :: len(nonempty) @@ -175,11 +177,12 @@ experiment. :: nonempty If we check now we will see that the first occurence 'spam' is removed -thus remove removes the first occurence of the element in the sequence +and therefore `remove` removes the first occurence of the element in the sequence and leaves others untouched. -One should remember this that while del removes by index number. -Remove , removes on the basis of content being passed so if :: +One should remember this that while del removes by index number, +`remove` removes on the basis of content being passed on. For instance +if :: k = [1,2,1,3] del([k[2]) -- cgit From 7f6333f170d60f4d755d1b446c38146f7d54c77c Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Fri, 12 Nov 2010 00:40:47 +0530 Subject: checklist ok for `getting started with lists` --- getting-started-with-lists/script.rst | 2 +- getting-started-with-symbolics/script.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/getting-started-with-lists/script.rst b/getting-started-with-lists/script.rst index 628297f..5a084f9 100644 --- a/getting-started-with-lists/script.rst +++ b/getting-started-with-lists/script.rst @@ -23,7 +23,7 @@ Internal Reviewer : Anoop Jacob Thomas External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <12-11-2010, Anand, OK> [2010-10-05] .. #[[Anoop: Slides contain only outline and summary diff --git a/getting-started-with-symbolics/script.rst b/getting-started-with-symbolics/script.rst index a96e3c7..78c2adb 100644 --- a/getting-started-with-symbolics/script.rst +++ b/getting-started-with-symbolics/script.rst @@ -20,6 +20,7 @@ .. Author : Amit Internal Reviewer : External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Symbolics with Sage -- cgit From bb65c7c025f94b9ce9055e9536936be76f0ca01b Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Fri, 12 Nov 2010 00:59:21 +0530 Subject: language check done for `getting started with symbolics` --- getting-started-with-symbolics/script.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/getting-started-with-symbolics/script.rst b/getting-started-with-symbolics/script.rst index 78c2adb..bbd0e22 100644 --- a/getting-started-with-symbolics/script.rst +++ b/getting-started-with-symbolics/script.rst @@ -41,11 +41,11 @@ During the course of the tutorial we will learn * Defining symbolic functions. * Simplifying and solving symbolic expressions and functions. -Amongst a lot of other things, Sage can do Symbolic Math and we shall +In addtion to a lot of other things, Sage can do Symbolic Math and we shall start with defining symbolic expressions in Sage. -Hope you have your Sage notebook open. If not, pause the video and -start you Sage notebook. +Have your Sage notebook opened. If not, pause the video and +start you Sage notebook right now. On the sage notebook type:: @@ -64,7 +64,7 @@ Now if you type:: Sage simply returns the expression. Sage treats ``sin(y)`` as a symbolic expression. We can use this to do -symbolic maths using Sage's built-in constants and expressions. +symbolic math using Sage's built-in constants and expressions. Let us try out a few examples. :: @@ -287,7 +287,7 @@ correct :: as we can see when we substitute the value the answer is almost = 0 showing the solution we got was correct. -Following is an (are) exercise(s) that you must do. +Following are a few exercises that you must do. %% %% Differentiate the following. -- cgit From 349654f7908fb54e4f409b55f01983734fd7b194 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Fri, 12 Nov 2010 01:00:49 +0530 Subject: internal review not done for `getting started with symbolics` --- getting-started-with-symbolics/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started-with-symbolics/script.rst b/getting-started-with-symbolics/script.rst index bbd0e22..4f714d4 100644 --- a/getting-started-with-symbolics/script.rst +++ b/getting-started-with-symbolics/script.rst @@ -21,7 +21,7 @@ Internal Reviewer : External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <, if OK> [2010-10-05] Symbolics with Sage ------------------- -- cgit From ffa017e5c45d8a47ee0c976cb69732fd65171802 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 14:07:36 +0530 Subject: Language check done for `embellishing a plot` --- embellishing_a_plot/script.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/embellishing_a_plot/script.rst b/embellishing_a_plot/script.rst index e964389..61243b9 100644 --- a/embellishing_a_plot/script.rst +++ b/embellishing_a_plot/script.rst @@ -16,8 +16,9 @@ .. 1. Using the ``plot`` command interactively .. Author : Nishanth Amuluru - Internal Reviewer : + Internal Reviewer : Anoop External Reviewer : + Language Reviewe : Bhanukiran Checklist OK? : [2010-10-05] Script @@ -30,9 +31,9 @@ Hello friends and welcome to the tutorial on Embellishing Plots. {{{ Show the slide containing the outline }}} In this tutorial, we shall look at how to modify the colour, thickness and -linestyle of the plot. We shall then learn how to add title to the plot and +linestyle of a plot. We shall then learn how to add title to a plot and then look at adding labels to x and y axes. we shall also look at adding -annotations to the plot and setting the limits of axes. +annotations to the plot and setting the limits on the axes. Let us start ipython with pylab loaded, by typing on the terminal @@ -59,14 +60,13 @@ We shall first make a simple plot and start decorating it. points right?] As we can see, the default colour and the default thickness of the -line is as decided by pylab. Wouldn't be nice if we could control +line is as decided by pylab. Wouldn't it be nice if we could control these parameters in the plot? This is possible by passing additional arguments to the plot command. .. #[[Anoop: I think it will be good to rephrase the sentence]] .. #[madhu: Why "you" here? Shouldn't this be "we" as decided? Also I added "the default" check the diff] - The additional argument that we shall be passing in here now is the colour argument. We shall first clear the figure and plot the same in red colour. Hence @@ -243,7 +243,9 @@ and we get the polynomial formatted properly. The solution is to enclose the whole string in between $. Hence, :: - title("$Parabolic function -x^2+4x-5$") + title("Parabolic function $-x^2+4x-5$") +#[[Bhanu: Dollar sign should enclose only the math-expression. change +made.]] gives a title that looks neatly formatted. -- cgit From 2aeb8c276821aae698e79162f9ae7d9c3bdc577a Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 14:08:41 +0530 Subject: checklist OK for `embellishing a plot` --- embellishing_a_plot/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embellishing_a_plot/script.rst b/embellishing_a_plot/script.rst index 61243b9..4269022 100644 --- a/embellishing_a_plot/script.rst +++ b/embellishing_a_plot/script.rst @@ -19,7 +19,7 @@ Internal Reviewer : Anoop External Reviewer : Language Reviewe : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <15-11-2010, Anand, OK> [2010-10-05] Script ------ -- cgit From 9ce903cb36acc02bed81e113f2e034bb7fd4a516 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 14:18:01 +0530 Subject: Language check done for `additional features of IPython` --- additional_ipython/script.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/additional_ipython/script.rst b/additional_ipython/script.rst index 3f7b497..ae33080 100644 --- a/additional_ipython/script.rst +++ b/additional_ipython/script.rst @@ -15,8 +15,9 @@ .. 1. Embellishing Plots .. Author : Nishanth Amuluru - Internal Reviewer : + Internal Reviewer : Amit External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script -- cgit From 4c3c513dbd988dee671ee2cd7aee6607f4df00a9 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 14:30:45 +0530 Subject: Language check done for `data parsing` --- additional_ipython/script.rst | 2 +- parsing_data/script.rst | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/additional_ipython/script.rst b/additional_ipython/script.rst index ae33080..0b79cc6 100644 --- a/additional_ipython/script.rst +++ b/additional_ipython/script.rst @@ -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 --git a/parsing_data/script.rst b/parsing_data/script.rst index 2a3573c..545517c 100644 --- a/parsing_data/script.rst +++ b/parsing_data/script.rst @@ -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 @@ In this tutorial, we shall learn #[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 @@ to a student. 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 @@ By now we know enough to seperate fields from the record and to strip out any 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. -- cgit From 8c66ad736f255d52fb62c43c9be883afe85834e7 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 14:31:42 +0530 Subject: checklist not OK; one more long answer question has to be included. --- parsing_data/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsing_data/script.rst b/parsing_data/script.rst index 545517c..fd299c8 100644 --- a/parsing_data/script.rst +++ b/parsing_data/script.rst @@ -16,7 +16,7 @@ Internal Reviewer : Amit External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : [2010-10-05] Script ------ -- cgit From b1e027168501b1b3128c89bcc3fcc92fc21cbe4f Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 14:40:49 +0530 Subject: Language check done for `least square fit` --- lstsq/script.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lstsq/script.rst b/lstsq/script.rst index a6011a7..b8468ba 100644 --- a/lstsq/script.rst +++ b/lstsq/script.rst @@ -11,8 +11,9 @@ .. 3. Loading data from files .. Author : Nishanth Amuluru - Internal Reviewer : + Internal Reviewer : Punch External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] -- cgit From ce92cebc7679c92da8979bd23f710378faad1a52 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 14:42:24 +0530 Subject: checklist not OK; 5 more short answer questions and 2 long answer questions need to be included. --- lstsq/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lstsq/script.rst b/lstsq/script.rst index b8468ba..e0cfe2b 100644 --- a/lstsq/script.rst +++ b/lstsq/script.rst @@ -14,7 +14,7 @@ Internal Reviewer : Punch External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : [2010-10-05] .. #[Puneeth: Add pre-requisites.] -- cgit From f000f43e5983b77abfc3e0834403c914377d0859 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 14:53:10 +0530 Subject: language check done for `using sage for teaching` --- using_sage_to_teach/script.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/using_sage_to_teach/script.rst b/using_sage_to_teach/script.rst index 1160604..249c9cb 100644 --- a/using_sage_to_teach/script.rst +++ b/using_sage_to_teach/script.rst @@ -14,6 +14,7 @@ .. Author : Nishanth Amuluru Internal Reviewer : External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script -- cgit From c5a7e039662b11847fe1fd64ae172f320dfcba73 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 14:54:10 +0530 Subject: checklist not ok; 5 short answer questions and 2 long answer questions are to be included. --- using_sage_to_teach/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/using_sage_to_teach/script.rst b/using_sage_to_teach/script.rst index 249c9cb..e8a0cc7 100644 --- a/using_sage_to_teach/script.rst +++ b/using_sage_to_teach/script.rst @@ -15,7 +15,7 @@ Internal Reviewer : External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : [2010-10-05] Script ------ -- cgit From 71978f9dde46d298deaa3ed9b683ed3599246c9f Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 15:00:34 +0530 Subject: Language check done for `I/O` --- input_output/script.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/input_output/script.rst b/input_output/script.rst index 62b7cf3..ece4a0d 100644 --- a/input_output/script.rst +++ b/input_output/script.rst @@ -14,6 +14,7 @@ .. Author : Nishanth Amuluru Internal Reviewer : Puneeth External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script -- cgit From 850856495b73e2fbb76f0d1361f545a20f6cebbf Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 15:01:21 +0530 Subject: checklist not OK; one more long answer question has to be added. --- input_output/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input_output/script.rst b/input_output/script.rst index ece4a0d..71ec8a9 100644 --- a/input_output/script.rst +++ b/input_output/script.rst @@ -15,7 +15,7 @@ Internal Reviewer : Puneeth External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : [2010-10-05] Script ------ -- cgit From c0e9f486dbc6d22050c1f9983b2b723c1afe3d98 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 15:07:22 +0530 Subject: Language check done for `getting started with tuples` --- tuples/script.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tuples/script.rst b/tuples/script.rst index ea1c2e1..abfea75 100644 --- a/tuples/script.rst +++ b/tuples/script.rst @@ -13,8 +13,9 @@ .. 1. Getting started with lists .. Author : Nishanth Amuluru - Internal Reviewer : + Internal Reviewer : Punch External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script -- cgit From 93f4dd997ff2a264a4cdf4697b685660bb386100 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 15:08:22 +0530 Subject: checklist not ok; 2 long answer questions have to be added. --- tuples/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuples/script.rst b/tuples/script.rst index abfea75..23d88b2 100644 --- a/tuples/script.rst +++ b/tuples/script.rst @@ -16,7 +16,7 @@ Internal Reviewer : Punch External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : [2010-10-05] Script ------ -- cgit From d64f7db2e6dd0c2debcc42dace2bce3664c17356 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 15:14:12 +0530 Subject: Language check done for `sets` --- sets/script.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sets/script.rst b/sets/script.rst index 680e170..dfd67d0 100644 --- a/sets/script.rst +++ b/sets/script.rst @@ -15,8 +15,9 @@ .. 1. Getting started with lists .. Author : Nishanth Amuluru - Internal Reviewer : + Internal Reviewer : Punch External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script -- cgit From a7cae56b8f70f455b144d1cc038ffac4dd30274d Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 15:15:50 +0530 Subject: checklist ok for `sets` --- sets/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sets/script.rst b/sets/script.rst index dfd67d0..a2e851a 100644 --- a/sets/script.rst +++ b/sets/script.rst @@ -18,7 +18,7 @@ Internal Reviewer : Punch External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <15-11-2010, Anand, OK> [2010-10-05] Script ------ -- cgit From 7651a9701667b4f8686627a280a494ce2f61b940 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 15:20:54 +0530 Subject: Language check done for `writing python scripts` --- writing_python_scripts/script.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/writing_python_scripts/script.rst b/writing_python_scripts/script.rst index 6368aff..5ed9843 100644 --- a/writing_python_scripts/script.rst +++ b/writing_python_scripts/script.rst @@ -12,8 +12,9 @@ .. 1. Using Python modules .. Author : Nishanth Amuluru - Internal Reviewer : + Internal Reviewer : Punch External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script @@ -46,7 +47,7 @@ in a script. return a -We shall write an test function in the script that tests the gcd function every +We shall write a test function in the script that tests the gcd function every time the script is run. {{{ Add to the script }}} -- cgit From 4ca459ef15ee3bd9ceaa61210d74a1609bdc53ce Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 15:23:28 +0530 Subject: checklist OK for `writing python scripts` --- writing_python_scripts/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writing_python_scripts/script.rst b/writing_python_scripts/script.rst index 5ed9843..0729efd 100644 --- a/writing_python_scripts/script.rst +++ b/writing_python_scripts/script.rst @@ -15,7 +15,7 @@ Internal Reviewer : Punch External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <15-11-2010, Anand, OK> [2010-10-05] Script ------ -- cgit From b741fd6dc42cedef82c7bae97a83c0f71280b982 Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 15:36:00 +0530 Subject: Language check done for `multiple plots` --- multiple-plots/script.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/multiple-plots/script.rst b/multiple-plots/script.rst index 08b0892..6d51418 100644 --- a/multiple-plots/script.rst +++ b/multiple-plots/script.rst @@ -20,6 +20,7 @@ Internal Reviewer 1 : [potential reviewer: Puneeth] Internal Reviewer 2 : Nishanth External Reviewer : + Language Reviewer : Bhanukiran Script ------ @@ -205,7 +206,7 @@ can, for example, save each plot separately {{{ Have both plot window and ipython side by side }}} -We also titled the our first plot as 'sin(y)' which we did not do for +We also titled our first plot as 'sin(y)' which we did not do for the second plot. Let us attempt another exercise problem @@ -264,7 +265,7 @@ rows of subplots that must be created, {{{ Have both plot window and ipython side by side }}} -in this case we have 2 so it spilts the plotting area horizontally for +in this case we have 2 as the first argument so it spilts the plotting area horizontally for two subplots. The second argument specifies the number of coloumns of subplots that must be created. We passed 1 as the argument so the plotting area won't be split vertically and the last argument -- cgit From fa4ff193ec16d369f3ffd7079137d06c246df458 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 15:38:44 +0530 Subject: checklist not ok; 1 short answer question and 2 long answer questions need to be added. --- multiple-plots/script.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/multiple-plots/script.rst b/multiple-plots/script.rst index 6d51418..0271b9a 100644 --- a/multiple-plots/script.rst +++ b/multiple-plots/script.rst @@ -21,6 +21,8 @@ Internal Reviewer 2 : Nishanth External Reviewer : Language Reviewer : Bhanukiran + Checklist OK? : <, not OK> [] + Script ------ -- cgit From 8ba1eeeb9c90122a2f15b87e6740e9612b33341f Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 15:45:27 +0530 Subject: Language check done for `getting started with strings` --- getting-started-strings/script.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/getting-started-strings/script.rst b/getting-started-strings/script.rst index dd8365b..fb37267 100644 --- a/getting-started-strings/script.rst +++ b/getting-started-strings/script.rst @@ -16,8 +16,9 @@ .. 1. getting started with ipython .. Author : Madhu - Internal Reviewer : + Internal Reviewer : Punch External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script @@ -162,8 +163,8 @@ Let us attempt to change one of the characters in a string:: a = 'hello' a[0] = 'H' -As said earlier, strings are immutable. We cannot manipulate the -string. Although there are some methods which let us to manipulate the +As said earlier, strings are immutable. We cannot manipulate a +string. Although there are some methods which let us manipulate strings. We will look at them in the advanced session on strings. In addition to the methods that let us manipulate the strings we have methods like split which lets us break the string on the specified -- cgit From 1bce1e166d776d4702814c165b1c9892584fc2d8 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 15:49:26 +0530 Subject: checklist ok for `getting started with strings` --- getting-started-strings/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started-strings/script.rst b/getting-started-strings/script.rst index fb37267..d27da63 100644 --- a/getting-started-strings/script.rst +++ b/getting-started-strings/script.rst @@ -32,7 +32,7 @@ strings. {{{ Show the slide containing the outline }}} In this tutorial, we will look at what we really mean by strings, how -python supports the use of strings and some of the operations that can +Python supports the use of strings and some of the operations that can be performed on strings. {{{ Shift to terminal and start ipython }}} -- cgit From a732203c3799e2db5797c1c074fb11e583a67a90 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Mon, 15 Nov 2010 15:51:46 +0530 Subject: checklist ok --- getting-started-sagenotebook/script.rst | 3 ++- getting-started-strings/script.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/getting-started-sagenotebook/script.rst b/getting-started-sagenotebook/script.rst index efe69ce..43e6b01 100644 --- a/getting-started-sagenotebook/script.rst +++ b/getting-started-sagenotebook/script.rst @@ -22,8 +22,9 @@ .. None. .. Author : Madhu - Internal Reviewer : + Internal Reviewer : Punch External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] diff --git a/getting-started-strings/script.rst b/getting-started-strings/script.rst index d27da63..815d196 100644 --- a/getting-started-strings/script.rst +++ b/getting-started-strings/script.rst @@ -19,7 +19,7 @@ Internal Reviewer : Punch External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <15-11-2010, Anand, OK> [2010-10-05] Script ------ -- cgit From 35dfd2eaa5912dc97934e1b4486206570107f27f Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Mon, 15 Nov 2010 16:07:00 +0530 Subject: Language check done for `getting started with sagenotebook` --- getting-started-sagenotebook/script.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/getting-started-sagenotebook/script.rst b/getting-started-sagenotebook/script.rst index 43e6b01..7ff8854 100644 --- a/getting-started-sagenotebook/script.rst +++ b/getting-started-sagenotebook/script.rst @@ -47,8 +47,8 @@ the offline help available. {{{ Show the slide on what is Sage }}} To start with, What is Sage? Sage is a free, open-source mathematical -software. Sage can do a lot of math stuff for you including but not -limited to algebra, calculus, geometry, cryptography, graph theory +software. Sage can do a lot of math stuff for you including, but not +limited to, algebra, calculus, geometry, cryptography, graph theory among other things. It can also be used as aid in teaching and research in any of the areas that Sage supports. So let us start Sage now @@ -71,10 +71,10 @@ like this {{{ Show what is displayed on the terminal }}} So now we can type all the commands that Sage supports here. But Sage -comes bundled with a much much much more elegant tool called Sage +comes bundled with a much more elegant tool called Sage Notebook? What is Sage Notebook? Sage Notebook provides a web based user interface to use Sage. So once we have a Sage notebook server up -and running all we want is a browser to access the Sage +and running, all we want is a browser to access the Sage functionality. For example there is an official instance of Sage Notebook server running at http://sagenb.org You can visit that page, create an account there and start using Sage! So all you need is just @@ -82,6 +82,8 @@ a browser, a modern browser {{{ Intentional *cough* *cough* }}} +#[[Bhanu: what? Are you serious?]] + to use Sage and nothing else! The Sage notebook also provides a convenient way of sharing and publishing our work, which is very handy for research and teaching. @@ -121,7 +123,7 @@ what is said above for the login page }}} Once we are logged in with the admin account we can see the notebook admin page. A notebook can contain a collection of Sage Notebook -worksheets. Worksheets are basically the working area. This is where +worksheets. Worksheet is basically a working area. This is where we enter all the Sage commands on the notebook. The admin page lists all the worksheets created. On the topmost part @@ -133,8 +135,8 @@ the link. For each of the link go to the page and explain as below }}} The home link takes us to the admin home page. The published link takes us to the page which lists all the published worksheets. The log link has the complete log of all the actions we did on the -notebook. We have the settings link where can configure our notebook, -the notebook server, we can create and mangage accounts. We have a +notebook. We have the settings link where we can configure our notebook, +the notebook server, create and mangage accounts. We have a link to help upon clicking opens a new window with the complete help of Sage. The entire documentation of Sage is supplied with Sage for offline reference and this help link is the way to get into it. Then -- cgit From 250d58a7818daf5354fce874e39f252ab580ee4f Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Tue, 16 Nov 2010 23:26:42 +0530 Subject: Language check done for `manipulating strings` --- getting-started-sagenotebook/script.rst | 2 +- getting-started-strings/script.rst | 2 +- manipulating-lists/script.rst | 24 ++++++++++++------------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/getting-started-sagenotebook/script.rst b/getting-started-sagenotebook/script.rst index 7ff8854..fc093d2 100644 --- a/getting-started-sagenotebook/script.rst +++ b/getting-started-sagenotebook/script.rst @@ -25,7 +25,7 @@ Internal Reviewer : Punch External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <15-11-2010, Anand, OK> [2010-10-05] Script diff --git a/getting-started-strings/script.rst b/getting-started-strings/script.rst index 815d196..754fede 100644 --- a/getting-started-strings/script.rst +++ b/getting-started-strings/script.rst @@ -165,7 +165,7 @@ Let us attempt to change one of the characters in a string:: As said earlier, strings are immutable. We cannot manipulate a string. Although there are some methods which let us manipulate -strings. We will look at them in the advanced session on strings. In +strings, we will look at them in the advanced session on strings. In addition to the methods that let us manipulate the strings we have methods like split which lets us break the string on the specified separator, the join method which lets us combine the list of strings diff --git a/manipulating-lists/script.rst b/manipulating-lists/script.rst index ba0bfa3..00144c1 100644 --- a/manipulating-lists/script.rst +++ b/manipulating-lists/script.rst @@ -11,8 +11,9 @@ .. 3. .. Author : Madhu - Internal Reviewer : + Internal Reviewer : Punch External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] Script @@ -24,10 +25,10 @@ Hello friends. Welcome to this spoken tutorial on Manipulating Lists. {{{ Show the slide containing the outline }}} -We have already learnt a lot about Lists in Python. In this tutorial, -we will learn more about advanced features of Lists in Python. We will -see how to concatenate two lists, details of slicing and striding of -lists, methods to sort and reverse lists. +We have already learnt about Lists in Python. In this tutorial, +we will learn about more advanced features of Lists in Python like how +to concatenate two lists, details of slicing and striding of lists, +methods to sort and reverse lists. {{{ Shift to terminal and start ipython }}} @@ -49,16 +50,16 @@ lists. Let us say I have the list:: primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29] -To obtain the all the primes between 10 and 20 from the above list of +To obtain all the primes between 10 and 20 from the above list of primes we say:: primes[4:8] This gives us all the elements in the list starting from the element -with the index 4 which is 11 in our list upto the element with index 8 +with the index 4, which is 11 in our list, upto the element with index 8 in the list but not including the eigth element. So we obtain a slice starting from 11 upto 19th. It is a very important to remember that -when ever we specify a range of elements in Python the start index is +whenever we specify a range of elements in Python the start index is included and end index is not included. So in the above case, 11 which was the element with the index 4 was included but 23 which was the element with index 8 was excluded. @@ -129,7 +130,7 @@ Please, pause the video here. Do the exercise and then continue. gives us all the multiples of 3 from the list, since every third element in it, starting from 0, is divisible by 3. -The other basic operation that we can perform on list is concatenation +The other basic operation that we can perform on lists is concatenation of two or more lists. We can combine two lists by using the "plus" operator. Say we have @@ -160,7 +161,7 @@ Now the contents of the list ``a`` will be:: a [1, 5, 6, 7, 7, 10] -Since the sort method sorts the list inplace the original list we had +As the sort method sorts the elements of a list, the original list we had is overwritten or replaced. We have no way to obtain the original list back. One way to avoid this is to keep a copy of the original list in another variable and run the sort method on the list. However Python @@ -174,8 +175,7 @@ We can store this sorted list another list variable:: sa = sorted(a) -Similarly to perform certain operations on the list we would like to -reverse the list. Python provides reverse method which again reverses +Python also provides the reverse method which reverses the list inplace:: a = [1, 2, 3, 4, 5] -- cgit From 81b4534d09c860eb324099008878c319440c6508 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Tue, 16 Nov 2010 23:28:06 +0530 Subject: checklist ok for `manipulating strings` --- manipulating-lists/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manipulating-lists/script.rst b/manipulating-lists/script.rst index 00144c1..4b4bbf5 100644 --- a/manipulating-lists/script.rst +++ b/manipulating-lists/script.rst @@ -14,7 +14,7 @@ Internal Reviewer : Punch External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <16-11-2010, Anand, OK> [2010-10-05] Script ------ -- cgit