Python Virtual Training For Arcesium - Module II

Oct 11-15, 2021 Vikrant Patil

These notes are available online at https://notes.pipal.in/2021/arcesium_finop_batch2/

© Pipal Academy LLP

Day 1

We will be using jupyter hub from https://lab2.pipal.in for this training.

create a notebook with name module2-day1

Recap

Iterations

Patterns of iterations

Problems

List Comprehension

new_list = []

for item in in old_list:
    newitem = do_some_operation(item)
    new_list.append(newitem)
[ do_some_operation(item) for item in old_list]

Filtering

problems

EXAMPLE

COUNTIFS implement this excel function