Collections and Map Reduce APIs - Python


#1

Originally published at: https://kaizen.itversity.com/topic/collections-and-map-reduce-apis-python/

As we understand basics of programming such as loops and functions, let us now focus on important aspects of Python which is required in the pursuit of data processing. Collections – list, set and dict Operations on collections Map Reduce APIs Here is the video which give overview about collections Processing data using Map Reduce…


#2

dict operations
Descriptions its given -

d.keys will give list of keys
d.items will return elements in the form of tuple

However when i executed i got -

d.items
<built-in method items of dict object at 0x2137ef0>

d.keys
<built-in method keys of dict object at 0x2137ef0>

Please explain this .

Thanks
Imteyaz