Professional Documents
Culture Documents
PART2123
PART2123
PART2123
Code:
Output:
Code:
Output:
Question - WAP a program to a create a series from two lists where first list will be values and second
would be indexes.
Code:
Output:
Code:
Output:
Code:
Output:
Output:
Code:
Output:
Code:
Output:
Question - WAP a program to display first and last three values of the Series
Code:
[NOTE : THE SERIES USED HERE IS FROM THE ABOVE CODE IN THE PREVIOUS QUESITON.]
Output:
Question - WAP a program to find the sum ,difference, and product of two series S1 andS2
Code:
Output:
PART [A] : DATAFRAME
WAP a program to create a dataframe from dictionaries
Code:
Output:
Code:
Output:
WAP a program to create a dataframe from array
Code:
Output:
Code:
Output:
Question : Create the following DataFrame Sales containing year wise sales figures for five sales
persons in INR. Use the years as column labels, and sales person names as row labels.
Code: