Modular Programming with Python by Erik Westra

Modular Programming with Python by Erik Westra

Author:Erik Westra
Language: eng
Format: epub, pdf
Publisher: Packt Publishing


Here, we randomly select a day, a bank code, a branch ID, and an amount, storing these values in the transfers list.

Our next task is to collate this information into a series of arrays. This allows us to calculate the total value of the transfers for each day, grouped by the branch ID and destination bank. To do this, we'll create a NumPy array for each day, where the rows in each array represent branches and the columns represent destination banks. We'll then go through the list of transfers, processing them one by one. The following illustration summarizes how we process each transfer in turn:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.