Computers and Technology

Requirements : you are to create a program in python that performs the following using the pandas packages: 1. loads the ss13hil. csv file that contains the pums dataset (assume it's in the current directory) and create a dataframe object from it.2. create 3 tables: table 1: statistics of hincp - household income (past 12 months), grouped by hht - household/family type table should use the hht types (text descriptions) as the index columns should be: mean, std, count, min, max rows should be sorted by the mean column value in descending ordertable 2: hhl - household language vs. access - access to the internet (frequency table) table should use the hhl types (text descriptions) as the index columns should the text descriptions of access values each table entry is the sum of wgtp column for the given hhl/access combination, divided by the sum of wgtp values in the data. entries need to be formatted as percentages. table should include marginal values ('all' row and column). any rows containing na values in hhl, access, or wgtp columns should be excluded. table 3: quantile analysis of hincp - household income (past 12 months) rows should correspond to different quantiles of hincp: low (0-1/3), medium (1/3-2/3), high (2/3-1) columns displayed should be: min, max, mean, household_count the household_count column contains entries with the sum of wgtp values for the corresponding range of hincp values (low, medium, or high)3. display the tables to the screen as shown in the sample output on the last page. additional requirements1. the name of your source code file should be tables. py. all your code should be within a single file. 2. you need to use the pandas dataframe object for storing and manipulating data.3. your code should follow good coding practices, including good use of whitespace and use of both inline and block comments.4. you need to use meaningful identifier names that conform to standard naming conventions.5. at the top of each file, you need to put in a block comment with the following information: your name, date, course name, semester, and assignment name.6. the output should exactly match the sample output shown on the last page. what to turn inyou will turn in the single tables. py filehints to get the right output, use the following functions to set pandas display parameters: pd. set_option('display. max_columns', 500)pd. set_option('display. width', 1000) to display entries as percentages, use the applymap method, giving it a string conversion function as input. the string conversion function should take a float value v as an input and output a string representing v as a percentage. to do this, you can use formatting strings or the format() method

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:20, Masielovebug
In what kind of attack can attackers make use of millions of computers under their control in an attack against a single server or network availability confidentiality integrity identity automated attack software? those who wrongfully disclose individually identifiable health information can be fined up to what amount per calendar year? single most expensive malicious attack hipaa what are script kiddies? advanced persistent threat security manager security engineer what level of security access should a computer user have to do their job what process describes using technology as a basis for controlling the access and usage of sensitive data? cybercriminal
Answers: 1
image
Computers and Technology, 22.06.2019 10:30, araminaara691
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
image
Computers and Technology, 24.06.2019 05:00, alfarodougoy8lvt
Who is most likely be your target audience if you create a slide presentation that had yellow background and purple text
Answers: 2
image
Computers and Technology, 24.06.2019 23:40, Salamonti
Which slide should you change so it reflects om all sides of your presentation
Answers: 1
Do you know the correct answer?
Requirements : you are to create a program in python that performs the following using the pandas pa...

Questions in other subjects: