Basic Operations on Data using NumPy
FLATTENING TO THE DATAFRAME Flattening of the Dataframe Ankit is going to manage the event data . He is having the data as dataframe, and his manager wants to print those customers name who booked the event in the same month. But the manager wants to print in the array format. So help Ankit to print customers name whose event month is same. And flatten the data and print in the array (list) format. The following is the 2D format for the dataframe: customer_name, address, date, eventType, cost, noOfPeople Here eventType is described as marriage, get together, and mehndi. Filled the data in the dataframe as the CSV file, in the above format. Input Format: For a sample dataframe, see the attached CSV file. Output Format: The output is the list of customers name with the month number of event booking. Sample Input: See the attached CSV file. Sample Output: Flatten Data: ['Vikram' '02' 'Amit' '02'] Description of th...