high on Essays logo

Our Services

Get 15% Discount on your First Order

Computer Science- Python coding homework

Homework 9

Complete the both parts in a single jupyter notebook. Save your notebook as
firstname_lastname_hw9.ipynb and upload to blackboard.

Part 1 – Lotto.txt

1. Read the file using loadtxt()

2. Sort each row, from smallest number to largest

3. Save the sorted array to a file called lotto_sorted.txt

4. Print to the screen all unique numbers in the array and the count of each unique number

Part 2 – ccbill_hw.csv

1. Load the file into a dataframe using read_csv()

2. Try to plot the following graph:

Hints:

It’s one line of code but it is long and will have multiple parts.

You will need to use .groupby() method to get this to work. We didn’t cover it but play around and see if you can figure it out.

image1.png

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit
Reviews

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

do a cset diagram for Staples print department, Departments and Key Tasks: Print Services Department: In the diagram identify: ● major

do a cset diagram for Staples print department, Departments and Key Tasks: Print Services Department: In the diagram identify: ● major departments and their key tasks/activities/responsibilities ● major systems and databases ● threats/vulnerabilities/risks Tasks: Printing: Handling various types of printing including bulk, specialized, and quick print services. Copying: Providing self-service

  IT543-4: Design an implementation of cryptographic methods for an organization. Assignment Instructions: Perform the lab described in the zip

  IT543-4: Design an implementation of cryptographic methods for an organization. Assignment Instructions: Perform the lab described in the zip folder Wireshark — Capturing SSL Packets. Follow the directions, perform the indicated instructions, and provide the requested information. Take screenshots of each step to show that you are working through the steps.