Data¶
How To: Basic::Data
enum object - create and display
enum class - iterate and display members and their values
enum class - display member names ordered by values
enum class - get all values
dictionary - count the most common words
tuple-of-tuples - find the class wise roll number
Count the number of students of individual class
Get the unique enumeration Values
Create ordereddict instance from dictionary, sort
Group a Sequence of key-value pairs into a Dictionary of Lists
Compare two unordered Lists (not sets)
Create an Array of six integers, print all the members
Get the array size of types unsigned integer and float
Get an Array buffer information
Get the length of an Array
Convert an Array to an Ordinary List
Convert an Array to an array of machine values, get bytes repr.
Convert array to machine values
Push three items into the Heap and print the items
Push three items into a Heap and return the smallest item
Push an item on the Heap, pop and return smallest
Create a Heapsort, push onto and pop off the values
Get the 2 largest and 3 smallest items from dataset
Locate the left insertion point for a value in sorted order
Locate the right insertion point for a specified value in sorted order
Insert items into a List in sorted order
A python program to create a queue and display all the members and size of the queue
Find whether a Queue is empty or not
Create a FIFO Queue
Create a LIFO Queue