Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
20 views
5 pages
Ip
It's ip project for class 12 with all details
Uploaded by
kj946326
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save ip For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
20 views
5 pages
Ip
It's ip project for class 12 with all details
Uploaded by
kj946326
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save ip For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save ip For Later
You are on page 1
/ 5
Search
Fullscreen
31 d. None of the above Which of the followin a, import pandas b. import pandas as pd ¢. import pandas as pds d._all of the above Fill in the blanks to get the output as 3 >>>import pandas as pnd correct? >>>s1=pnd.Series({1, 2, 3, 4], index=['a’, 'b’, ‘c’,‘d’]) >>>print(s1L_)) b 4. All of these We can access elements in the Series by using index and __ index. ‘a, Numeric, labelled b. Positional, ©. Positional, labelled d. None of these Write the output of the following code: import pandas as pd s1=pd.Series({'New Delhi’, ‘WashingtonDe’, ‘London’, ‘Par '), index=[India’ print(s1 India’ a. India NewDelhi UK London dtype‘object b, India NewDelhi UK Washingthon dtype: object ©. Error d. None of the mentioned $1.Values will return all the values of the series $1 in a. List b. Tuple ¢. Dictionary 4. String Prodict the output >>> import pandas as pd >>> s1=pd.Series( >>> pds vries(),empty a. True b. False ¢. Error d. None Predict the output >>>import pandas as pd35 36 39 40 Al) >>> sl=pd Series (lL >>> s2=pd Seriest{7,8) >>> aSeslts2 >>> print(s3.size b. a. 2 4 6 Error Which method is used to add two series in pandas? a. sum() b, addition() c. add) d. none When an operation is carried out on every value of Series Object is called. a. Scalar operation b, Vector operation c. Both d. none What is the index of 81 in given series $1? >>>import pandas as pd >>> s1=pd Series({1,2,31 4], index=la’, b,c, a’) b.2 c. Both d. None Following two statement will produce same output >>> 2a] is a list >>>s]*2its1 is a series a, True b. False c. On d. Off Minimum number of argument we require to pass in pandas series? a. 0 b. 1 ce 2 a3 Choose the correct function to rename city column to location using rename( function. a. dfrename(eolumns: location’) ‘location’}) c. dfrenameCeity’ = ‘loc d. rename(city=location) Choose the right way to install pandas library: a install pandas b, pandas install python c. python install pandas d. noneA Dataframe df already exists, choose the correct code to add a column marks with values [56,76, a. difmarks]=156, 76, 82] b, df-marks c. marks . none Write a code statement to list the value of a cell in 5" vow and ‘item column from a a. Sales.item|4] b. sales.item[5) c. sales.itemsl] d. none ‘The functions to iterate over DataFrames a. for, while b. iterrows0. Iteritems( ©. for, iter d. none Point out the correct statement: a. if data isa list, if index is passed the values in data corresponding to the labels in the index will be pulled out. b. NaN is the standard missing data marker used in pandas. ¢. Series acts very similar to array . None of the mentioned A panel is container of data. a, 1D b. 2D ce. 3D d. infinite Which of the following is true: a. if data is an ndarray, index must be the same length as data, bs, Series is a one-dimensional labelled array capable of holding any data type. c. Both aand b d. None Directions: ‘Two statements A and R are given. Read the statements and choose the correct option a. Both A and R are true and R is the correct explanation of A b, Both A and R are true but R is not the correet explanation o! c. Ais true but R is false d. Ais false but R is True Assertion A: Pandas is a popular data-science library of Python. Reason R: A series is a Pandas data structure that represents data. Assertion A: In a DataFrame Axis=1 represents the column elements. Reason R: To access values using row labels you cam use DE.open. Assertion A: While series is a one-dimensional data structure object, DataFrame is a multi-dimensional data structure. Reason R: A series object is value mutable. Assertion A: To get the number of dimensions of a Series object, ndimattribute is displayed. Reason R: To get the size of the datatype of the items in series object, you can display index attribute. Assertion A: The axis 0 identifies a DataFrame's rows. Reason R: The axis 1 identifies a DataFrames’s columns. Case Study: Pandas Data Structure: A data structure is a particular way of storing and organising data in a computer to suit a specific purpose so that it can be accessed and worked with in appropriate ways. Pandas offer many data structures to handle a variety of data. At very basic level, Pandas dat structure can be thought of somewhat as enhanced version of Numpy structured arrays in which the rows and columns can be identified and accessed with labels rather than simple integer indices. Out of many data structures of Pandas, 2 basic data structure and are universally popular for their dependability. i.” Series, dataframe ii, 1d array and 2D array DataFrame is a data structure of Python Pandas. i 1-Dimensioan! ii. 2-Dimensional When numeri indexes can depict positions of data in the objects (e.g. when indexes go as 0, 1 ), they are called. i, Labelled indexes ii, Positional indexes iii Both i and ii iv. None Mr. Ankit is working in an organisation as data analyst. He uses Python Pandas and Matplotlib for the same, He got a dataset of the passengers for the year 2010 to 2012 for January, March and December. His manager wants certain information from him, but he is facing some problems. Help Year Month Passengers him by 2010 Jan 25 answering Mar few Jon 30 questions Dee 5 given Dee 5 below: Code to create the above dataframe: import pandas as fistatement 1 data= {"Year": [2010, 2010, 2012, 2010, 2012], “Month”: [Jan’ Mar’, ‘Jan’, ‘Dee’, ‘Dec'], “Passengers”: [25, 50, 35, 55, 65 Yd. (data) #statement print(d) a. Choose the right code from the following for statement 1Choose the right code for statement 2 i, DataArray ii, DataFrame iv. Dictionary Choose the correct statement/method for the required output: (5,3) i. df.index ii df.shapeQ iii, df.shape iv. dfsize
You might also like
Worksheet Class Xii Ip 2023-24
PDF
No ratings yet
Worksheet Class Xii Ip 2023-24
143 pages
Pandas Mcqs With Answers
PDF
100% (1)
Pandas Mcqs With Answers
12 pages
GR Xii Ip Pandas Worksheet
PDF
No ratings yet
GR Xii Ip Pandas Worksheet
6 pages
IP Question Bank
PDF
No ratings yet
IP Question Bank
40 pages
Student Support Material 25-26 Subject Ip065
PDF
No ratings yet
Student Support Material 25-26 Subject Ip065
104 pages
XII IP ALL Chapters Questions
PDF
No ratings yet
XII IP ALL Chapters Questions
58 pages
MCQ 12 IP Pandas - Series
PDF
No ratings yet
MCQ 12 IP Pandas - Series
28 pages
Graded Worksheet IP XII
PDF
No ratings yet
Graded Worksheet IP XII
44 pages
Pandas Series Questions FINAL Corrected
PDF
No ratings yet
Pandas Series Questions FINAL Corrected
3 pages
? Sample Paper by Aadish
PDF
No ratings yet
? Sample Paper by Aadish
7 pages
Question Bank Class XII IP 065 MCQ With Answer
PDF
No ratings yet
Question Bank Class XII IP 065 MCQ With Answer
35 pages
Dtea SR Sec Schools, New Delhi Worksheet Assignment Class XII-Informatics Practices
PDF
No ratings yet
Dtea SR Sec Schools, New Delhi Worksheet Assignment Class XII-Informatics Practices
3 pages
Mcqs
PDF
No ratings yet
Mcqs
30 pages
Class 12 Ippart 2
PDF
No ratings yet
Class 12 Ippart 2
6 pages
DH Using Pandas-1 MCQs
PDF
No ratings yet
DH Using Pandas-1 MCQs
2 pages
Ip Mcq-July (2024-25) - 1
PDF
No ratings yet
Ip Mcq-July (2024-25) - 1
10 pages
Series Worksheet
PDF
No ratings yet
Series Worksheet
8 pages
Pragya Girls School
PDF
No ratings yet
Pragya Girls School
8 pages
Pandas-1 MCQ
PDF
No ratings yet
Pandas-1 MCQ
5 pages
Pandasrev
PDF
No ratings yet
Pandasrev
6 pages
Series Worksheet1 3
PDF
No ratings yet
Series Worksheet1 3
10 pages
Pandas & Vis 1
PDF
No ratings yet
Pandas & Vis 1
25 pages
Chapter 1 - Python Pandas - I
PDF
No ratings yet
Chapter 1 - Python Pandas - I
23 pages
Series Practice Sheet2
PDF
No ratings yet
Series Practice Sheet2
9 pages
Pandas Series Questions Final Cleaned Renumbered
PDF
No ratings yet
Pandas Series Questions Final Cleaned Renumbered
3 pages
Worksheet Class Xii Ip
PDF
No ratings yet
Worksheet Class Xii Ip
59 pages
12 SM Ip
PDF
No ratings yet
12 SM Ip
180 pages
Pandas Series Practice Questions
PDF
0% (1)
Pandas Series Practice Questions
42 pages
Chapter 1 1 Marks Questions Class 12
PDF
No ratings yet
Chapter 1 1 Marks Questions Class 12
5 pages
Pandas1 Rev
PDF
No ratings yet
Pandas1 Rev
5 pages
Class XII IP IMP Notes & Sample Papers
PDF
No ratings yet
Class XII IP IMP Notes & Sample Papers
125 pages
Worksheets For IP
PDF
No ratings yet
Worksheets For IP
72 pages
Series
PDF
No ratings yet
Series
11 pages
Informatics Pratices - Class 12 - Series - Practice Paper - 2024-25
PDF
No ratings yet
Informatics Pratices - Class 12 - Series - Practice Paper - 2024-25
2 pages
Pandas MCQ Questions With Answers
PDF
No ratings yet
Pandas MCQ Questions With Answers
33 pages
MCQ Based On Series
PDF
No ratings yet
MCQ Based On Series
9 pages
Class 12 Unit Test 1 August 2022
PDF
No ratings yet
Class 12 Unit Test 1 August 2022
3 pages
Python Revision (Assignment
PDF
No ratings yet
Python Revision (Assignment
2 pages
12 - Ip - MCQ Term-I-1
PDF
No ratings yet
12 - Ip - MCQ Term-I-1
22 pages
IP Board Ut
PDF
No ratings yet
IP Board Ut
5 pages
IP June Month MCQ
PDF
No ratings yet
IP June Month MCQ
9 pages
XII IP Class Test Pandas
PDF
No ratings yet
XII IP Class Test Pandas
6 pages
Data Handling Using Pandas-1 - Series Object Notes PDF
PDF
No ratings yet
Data Handling Using Pandas-1 - Series Object Notes PDF
25 pages
SERIES
PDF
No ratings yet
SERIES
8 pages
Ln. 1 - Data Handling Using Pandas - Series & Dataframe
PDF
No ratings yet
Ln. 1 - Data Handling Using Pandas - Series & Dataframe
14 pages
Class 12 Ip Summer Vacations Homework 2022-23
PDF
0% (1)
Class 12 Ip Summer Vacations Homework 2022-23
8 pages
Pandas MCQ Questions With Answers
PDF
100% (1)
Pandas MCQ Questions With Answers
31 pages
A) Index B) Column C) Columns D) Colindex
PDF
No ratings yet
A) Index B) Column C) Columns D) Colindex
10 pages
Ip QP Set 2
PDF
No ratings yet
Ip QP Set 2
8 pages
12 Ip Dataframes Notes
PDF
No ratings yet
12 Ip Dataframes Notes
7 pages
Xii Ip Ut 1 MS 24 25
PDF
No ratings yet
Xii Ip Ut 1 MS 24 25
9 pages
Cbse Xii Ip
PDF
No ratings yet
Cbse Xii Ip
4 pages
Xii Mcq-Sep Month
PDF
No ratings yet
Xii Mcq-Sep Month
4 pages
Final Copy of Class Xii Ip 2022-23-Worksheets-Amd
PDF
75% (8)
Final Copy of Class Xii Ip 2022-23-Worksheets-Amd
114 pages
C12 - Worksheet 2 - IP - 2024-25
PDF
No ratings yet
C12 - Worksheet 2 - IP - 2024-25
2 pages
Class 12 Ip Holiday Homework
PDF
No ratings yet
Class 12 Ip Holiday Homework
3 pages
Assignment-1 (Python Pandas-Series Object and Data Frame: 1. Answer The Following
PDF
100% (1)
Assignment-1 (Python Pandas-Series Object and Data Frame: 1. Answer The Following
8 pages
Class 12 - Ip - Worksheets - Pandas1
PDF
No ratings yet
Class 12 - Ip - Worksheets - Pandas1
6 pages
Information Practices: Section A
PDF
No ratings yet
Information Practices: Section A
8 pages
Sales Data Analysis Project
PDF
No ratings yet
Sales Data Analysis Project
4 pages
Class-12 D
PDF
No ratings yet
Class-12 D
1 page
Principle of Management: at Café Coffee Day
PDF
No ratings yet
Principle of Management: at Café Coffee Day
19 pages
Economic Reforms in India and Economic Growth
PDF
No ratings yet
Economic Reforms in India and Economic Growth
14 pages
New Doc 10-18-2024 11.09
PDF
No ratings yet
New Doc 10-18-2024 11.09
2 pages
English Merged Done File Class 12 Cbse
PDF
No ratings yet
English Merged Done File Class 12 Cbse
13 pages
Sample Paper SOF Class 12
PDF
No ratings yet
Sample Paper SOF Class 12
8 pages
Class 12 Informatics Practices Practical File
PDF
No ratings yet
Class 12 Informatics Practices Practical File
7 pages
Maths Project 1
PDF
No ratings yet
Maths Project 1
5 pages
Eco 12 Project
PDF
No ratings yet
Eco 12 Project
4 pages