Evaluation - Python Collections


#1

Originally published at: http://www.itversity.com/2018/01/05/evaluation-python-collections/

Exercise 1 – Getting Started Read data from /data/retail_db/order_items/part-00000 into collection called orders Get number of records Print first 10 records Exercise 2 – Loops – Extract order_id and order_item_subtotal Read data from /data/retail_db/order_items/part-00000 into collection called orders Using loops, create collection of tuples containing order_id, order_item_subtotal order_id is second field and of type int…


#2

sir can u plz tell how to do this exercise in windows powershell