IP practical file python programs on series

This article provides you the IP practical file python programs on series. This is chapter 1 of IP (Informatics Practices- Class XII) chapter 1 Data handling using pandas – I as per CBSE Curriculum. This chapter is named as Python Pandas – I in Sumita Arora’s new Textbook. Here is the list and solutions in pdf.

1 Write a program to generate a series of the first 10 numbers.

2 Write a program to generate a series of float numbers from 21.0 to 30.0 with an increment of 1.5 each.

3 Write a program to generate a series using a dictionary to represent month number and month names.

4 Write a program to generate a series of 5 elements of multiples of 7 starting with 35 with index multiply by 3. 

5 Write a program to generate a series of marks of 10 students. Give grace marks up to 5 of those who are having <33 marks and print the new list of the marks.

Watch this video for more explanation

Click on download button to get the solutions:

6 Write a program to generate a series of these numbers: 33,55,65,29,19,23. Find the sum of those values which are ending with 3 or 5.

7 Write a program to generate a series of 10 numbers. Change the value of all the elements those values are multiples of 4.

8 Write a program to generate a series of 10 numbers starting with 41 and with the increment of 3. Now add 7 all odd values and subtract 3 in even values. Reprint the updated series.

9 Write a program to generate a series of 10 numbers with scalar value 33.

10 Write a program to generate S1 with prime numbers between 1 to 25 and S2 with factorial numbers between 1 to 25. 

11 Write a program to generate a series with these numbers: 21, 51, 71, 31, 12. Exchange all these values of series by shifting each of them to the next position and by shifting the last value to the first index.

12 Write a program to generate a series with these numbers: 21, 51, 71, 31, 12. Exchange all these values of series by shifting each of them one to one position before and by shifting the first value to last position.

13 Write a program to generate a series S1 and copy all the values of S1 into S2 that all negative values of S1 appear at the beginning of S2 followed by all positive values, followed by all the zeros maintaining their respective orders in a series.

14 Write a program to swap the values of series to modify the contents of the series that the value which are multiple of 5 with the value present in position in the array.

15 Write a program to demonstrate the use of common series attributes. Generate any series of your choice.

16 Write a program to generate a series and print the top 3 elements using the head function.

17 Write a program to generate a series and print the bottom 3 elements using the tail function.

18 Write a program to generate a series with indexes starting with 1. Reindex the series with odd values starting with 4.

19 Consider the above series and remove elements from the series. Ask the user to enter the index number to delete the element.

20 Write a program to add deleted values in the above series.

Access all contents of Informatics Practices

You can use this ip practical file python programs for you practical records for board examination.

I am thankful to my student Neel Patel as contributor for this article.

Dear Students, few programs I left for you. Just provide the solution in the comment section and share your views also. Share this program list with your friends as well. Thank you for visiting our blog. If you want to enjoy more contents subscribe to our blog by entering your email id below:

Join 899 other subscribers

Comment Your Views

%d bloggers like this: