×
Samples Blogs Make Payment About Us Reviews 4.9/5 Order Now

Create a Program to Work with Bank Data in Python Assignment Solution

July 15, 2024
Professor Liam Taylor
Professor Liam
🇦🇺 Australia
Python
Professor Liam Taylor holds a Master's degree in Computer Science from a prominent university in Australia and has completed over 600 assignments related to Python file handling. His expertise includes designing file handling libraries, implementing data serialization techniques, and optimizing file access patterns. Professor Taylor specializes in multimedia file processing, metadata extraction, and developing cross-platform file handling solutions using Python.
Key Topics
  • Instructions
  • Requirements and Specifications
Tip of the day
Use Python libraries effectively by importing only what you need. For example, if you're working with data, using libraries like pandas and numpy can save time and simplify complex tasks like data manipulation and analysis.
News
In 2024, the Biden-Harris Administration has expanded high-dosage tutoring and extended learning programs to boost academic achievement, helping programming students and others recover from pandemic-related setbacks. These initiatives are funded by federal resources aimed at improving math and literacy skills​

Instructions

Objective

Write a Python assignment program to work with bank data.

Requirements and Specifications

program to work with bank data in python
program to work with bank data in python 1
program to work with bank data in python 2
program to work with bank data in python 3
program to work with bank data in python 4
program to work with bank data in python 5

Source Code

# CSC-401 Assignment 6 # Due: July 5, 5:30 PM # Author: # Collaborators: # # # Don't forget to delete 'pass' from each function # Don't forget doc strings # def process_row(row): ''' ''' pass # This data is not used in any of the code. It is # included as a reference. load_bank_data('customers.csv') # should produce a dictionary very similar to this one. bank_map = { 'Laaibah': (208.1, '10/22/2019'), 'Arnold': (380.999, '9/12/2019'), 'Sioned': (327.01, '1/1/2019'), 'Shayaan': (429.5, '2/28/2019'), 'Renee': (535.29, '4/09/2019'), 'Conal': (726.77, '9/21/2019'), 'Katarina': (730.11, '10/1/2019'), 'Theodor': (637.12, '10/15/2019'), 'Nadia': (433.33, '8/29/2019'), 'Jia': ('error', '7/23/2019'), 'Sana': (829.99, '10/26/2019') } def load_bank_data(file_name): ''' ''' pass def sets_exercise(): ''' ''' upstairs = {"beds", "clothes", "toothbrushes","lamps"} downstairs = {"couch", "clothes", "chairs","lamps"} pass # -------------------------------------------- # TEST CODE below. Add all test code in the # section below. # -------------------------------------------- if __name__ == "__main__": # --- tests for process_row --- row = process_row('Laaibah,208.1,10/22/2019') assert len(row) == 3 # --- tests for load_bank_data --- data = load_bank_data('customers-s6.csv') assert data['Nadia'][0] == 433.33 # --- tests for sets_exercise --- results = sets_exercise() assert results['up_only'] == {'toothbrushes', 'beds'}

Similar Samples

Explore our Python assignment sample to see how we tackle complex coding challenges. Our expert solutions demonstrate clear, well-commented code and effective problem-solving techniques. This sample showcases our commitment to delivering high-quality, error-free Python assignments tailored to meet your academic needs. Discover how we can help you achieve top grades!