04:43:33 David Delene: Can you hear me? 04:43:33 Mariia Goriacheva (Morrell): yes 04:43:35 Raihan Quader: Yes 04:43:37 Christopher Scott: yepo 04:45:22 Mariia Goriacheva (Morrell): not yet 04:45:23 Christopher Scott: not yet 04:45:42 Mariia Goriacheva (Morrell): yes 04:45:43 Christopher Scott: yes 04:46:17 David Delene: See the screen share. 04:46:48 Mariia Goriacheva (Morrell): yes 05:01:46 Jim Cooley: What's the period in my_string.__.... mean? 05:04:29 Mariia Goriacheva (Morrell): you need the period to call for specific functions: 05:04:41 Mariia Goriacheva (Morrell): .__len__() 05:17:26 David Delene: Explain in simple terms the order of operations in the following program: when does the addition happen, when does the subtraction happen, when is each function called, etc. What is the final value of radiance? 05:17:30 David Delene: Order of operations: 1.1 * radiance = 1.1 1.1 - 0.5 = 0.6 min(radiance, 0.6) = 0.6 2.0 + 0.6 = 2.6 max(2.1, 2.6) = 2.6 At the end, radiance = 2.6 05:46:22 David Delene: What function from the math module can you use to calculate a square root without using sqrt? Since the library contains this function, why does sqrt exist? 05:55:54 David Delene: Which standard library module could help you? Which function would you select from that module? Are there alternatives? Try to write a program that uses the function. 05:56:15 David Delene: bases = 'ACTTGCTTGAC' 05:56:24 David Delene: Want a random character. 06:00:36 Christopher Scott: 86 amu 06:01:12 Christopher Scott: amu works too, just a different unit 06:04:27 Mariia Goriacheva (Morrell): random.choice(bases) 06:06:40 David Delene: bases="ACTTGCTTGAC" import math import random ___ = random.randrange(n_bases) ___ = len(bases) print("random base ", bases[___], "base index", ___) 06:10:38 Mariia Goriacheva (Morrell): bases is DNA sequence 06:12:44 Christopher Scott: ive caught onto it, its pretty much just piecing the code together 06:14:28 Christopher Scott: if you look further down in the code, in order to run print correction, the functions have to be corrected stated 06:24:22 Mariia Goriacheva (Morrell): Could you please share the question for the last problem? thanx 06:42:58 David Delene: Reading Tabular Data into DataFrames 06:45:27 Christopher Scott: i do not 06:45:58 David Delene: You pip to install. 06:46:21 Christopher Scott: yeah, not sure how to install pandas 06:46:33 David Delene: pip install pandas 06:46:46 David Delene: on linux. Google for the answer. 06:51:51 Mariia Goriacheva (Morrell): please paste the path here 07:03:33 David Delene: /share/gapminder_gdp_oceania.csv 07:12:51 Christopher Scott: so essentially, the table works as a matrix 07:17:52 David Delene: Read the data in gapminder_gdp_americas.csv (which should be in the same directory as gapminder_gdp_oceania.csv) into a variable called data_americas and display its summary statistics. 07:36:00 Mariia Goriacheva (Morrell): David, thank you very much for sharing your knowledge with us! See you tomorrow!