BIO 3360 Lecture Notes - Lecture 12: Pivot Table, Apache Spark, Text Editor

57 views2 pages
20 Mar 2018
Department
Course
Professor

Document Summary

Eg wiki. set. index --> seasons and episodes are separate index. rolling will make it so that you can specify the window of episodes. unstack() to put as table not list, nice and pretty pivot table. expanding() cumulative sum, dataset is from that place until the end of the row. Can analyse what episodes incited people to leave ratings. With figsize((6,18)): will only apply to what is on the with block. Can put data back in columns to reset index. Analysed the data to learn how in later seasons there was higher variety in quality. _d is just a variable but of something like a throw away variable, let the user know it"s useless/unstable. Ordereddict to make a dictionary where the order you input infor into it is conserved. Np. max and np. min are just the min and max from numpy, good to use. Panel thing is like a dictionary of dataframes like a 3d cube, get a slice to view your data.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions