Consider the following DataFrame, classframe Rollno Name Class Section CGPA Stream St1 1 Aman IX E 8.7 Science -Technology

1 Answer

Answer :

i. classframe[‘Activity’]=[‘Swimming’,’Dancing ’,’Cricket’, ‘Singing’]ii. classframe.loc[‘St5’]=[1,’Mridula’, ‘X’, ‘F’, 9.8, ‘Science’]

Related questions

Description : Consider the following DataFrame df and answer questions. rollno name UT1 UT2 UT3 UT4 1 Prerna Singh 24 24 20 22 -Technology

Last Answer : (i) (b)print(df.max())(ii) (a)df1=df[df[‘rollno’]==4]print(df1)(d)df1=df[df.rollno==4]print(df1)(iii)(a)both (i) and (ii)(iv)(d) both (i) and (ii)(v)(b)df [‘Grade’]=[’A’,’B’,’A’,’A’,’B’,’A’]

Description : Consider the table STUDENT given below: RollNo Name Class DOB Gender City Marks 1 Anand XI 6/6/97 M Agra 430 -Technology

Last Answer : (1)b. Both (iii) and (iv)(2) b.RollnoNameClassDOBGenderCityMarks6734MaakhiyNehaGeetPreetiXIXXIXII12/12/948/12/956/5/978/8/95FFFFDubaiMoscowAgraMumbai256324470492

Description : Consider the following dataframe, and answer the questions given below: -Technology

Last Answer : (i) print(df.mean(axis = 1, skipna = True)) print(df.mean(axis = 0, skipna = True))(ii) print(df.sum(axis = 1, skipna = True))(iii) print(df.median())

Description : Consider the following table Furniture. Write SQL commands for the statements (i) to (viii) and write output for SQL queries (ix) and (x). -Technology

Last Answer : SQL commands for the given statements (i) to (viii) ;1. SELECT FCODE, NAME. PRICE FROM Furniture WHERE PRICE < 5000;2. SELECT NAME. PRICE FROM Furniture3.4. WHERE NAME LIKE %table% ;5. SELECT DISTINCT WCODE ... ;15.16. Output for SQL queries (ix) and (x)(ix)SUM(PRICE)6500(x)COUNT(DISTINCT PRICE)5

Description : ...method in Pandas can be used to change the index of rows and columns of a Series or Dataframe : -Technology

Last Answer : Correct option(ii)reindex

Description : In a DataFrame, Axis= 1 represents the elements. -Technology

Last Answer : In a DataFrame, Axis= 1 represents thecolumn elements.

Description : In Pandas the function used to check for null values in a DataFrame is ..... -Technology

Last Answer : In Pandas the function used to check for null values in a DataFrame isisnull()

Description : Write a program in Python Pandas to create the following DataFrame batsman from a Dictionary: B_NO Name Score1 Score2 -Technology

Last Answer : Alternative Answer

Description : Following is the frequency distribution of total marks obtained by the students of different section of class-IX. -Maths 9th

Last Answer : Since class intervals of the given frequency distribution are not of equal width. We would make modifications in the lengths of the rectangles in the histogram, so that the areas of rectangles are proportional ... lengths as given in the last column .The histogram of the data is given below.

Description : The given table shows the month of birth of 40 students of class IX of a particular section in a school. -Maths 9th

Last Answer : (a) P (later half of the year) = 23 / 40 (b) P (month having 31 days) = 26 / 40 = 13 / 20 (c) P(month having 30 days) = 10 / 40 = 1 / 4

Description : Following is the frequency distribution of total marks obtained by the students of different section of class-IX. -Maths 9th

Last Answer : Since class intervals of the given frequency distribution are not of equal width. We would make modifications in the lengths of the rectangles in the histogram, so that the areas of rectangles are proportional ... lengths as given in the last column .The histogram of the data is given below.

Description : The given table shows the month of birth of 40 students of class IX of a particular section in a school. -Maths 9th

Last Answer : (a) P (later half of the year) = 23 / 40 (b) P (month having 31 days) = 26 / 40 = 13 / 20 (c) P(month having 30 days) = 10 / 40 = 1 / 4

Description : Write a program to declare structure student having rollno, name & marks.

Last Answer : Accept and display data for three students. #include #include void main() { int i; struct student{ int rollno; char name[20]; int marks; } s[3]; clrscr(); for(i=0;i

Description : Consider the following statements : 1. There is no flow across a streamline 2. Streamline spacing varies directly with velocity at the section 3. Streamlines do not cross 4. In steady flow, streamline pattern does not change with ... 4 (b) 1 and 2 only (c) 1, 3 and 4 only (d) 2, 3 and 4 only

Last Answer : (c) 1, 3 and 4 only

Description : What is CGPA in Diploma ?

Last Answer : CGPA means Cumulative Grade Point Average . The CGPA is a measure of the value of grade points obtained in all subjects of relative importance and expressed in averaging . The average of the marks you will get ... a 4 year course is called GPA and the average of 4 year total result is called CGPA .

Description : How to diagnose CGPA ?

Last Answer : How to determine CGPA : First you have to multiply the grade point obtained in each subject by the credit of that subject. Example: subject grade point credit grade point X credit physics 3.50 4 14 chemistry 3.60 4 14.4 mathematics 3 ... + 4 + 2 + 2) = 16 gives CGPA . Thus , CGPA (57.4 / 16) = 3.59

Last Answer : Full form of CGPA - Cumulative Grade Point Average.

Last Answer : (Cumulative Grade Point Average)

Description : If Ix  and Iy are the moments of inertia of a section about X and Y axes, the polar moment of inertia  of the section, is  (A) (IX + IY)/2  (B) (IX - IY)/2  (C) IX + IY (D) (IX/IY)

Last Answer : (C) IX + I

Description : I have some matchsticks set up like this: I + XI = X. If you do not know Roman numerals, here is a quick starter: I=1 II=2 III=3 IV=4 V=5 VI=6 VII=7 VIII=8 IX=9 X=10 XI=11 ... are told to move the minimum number of matchsticks to make the question correct. So, how many do you have to move? -Riddles

Last Answer : Most people would get to one move at the least, but the real answer is zero moves. If you rotate the whole question around 180 degrees, it will display this: X = IX + I

Description : In final exam of class IX there are 130 students 20 % students failed. How many students passed to class X? a) 105 b) 112 c) 104 d) 117 e) 104.5

Last Answer : Answer: C) Percentage of students passed to class X = (100 % - 20 %) of 130  = 80 % of 130 =>80 % of 130 => 80/100 × 130 =>10400/100 => 104 Therefore, 104 students passed to class X

Description : Consider the following database Student:Roll No. First Name Last Name Class Marks Obtained(%) Scholarship Awarded -Technology

Last Answer : 1. 95.42. Mohan Garg and scholarship awarded is 50000.3. 54. 6

Description : State Euclid's fifth axiom (as per order given in the textbook for class IX). -Maths 9th

Last Answer : Solution :- A straight line may be drawn from any point to any other point

Description : Tanya, a class IX student received cash award -Maths 9th

Last Answer : Solution :- 1. Statistics 2. Do yourself 3. Respect for elders, kind, socially active.

Description : A Class IX English book contains 200 pages. A page is selected at random. What is the probability that the number on the page is divisible by 10?

Last Answer : A Class IX English book contains 200 pages. A page is selected at random. What is the probability that the number on the page is divisible by 10?

Description : Can I change my stream from arts(humanities) to science or any other stream after completing class 12?

Last Answer : That’s in India right? I just want to add to your topics India if that is the case. In America you could do whatever you want.

Description : Aman was facing some difficulties in simplifying -Maths 9th

Last Answer : Solution:- 1/( √7 - √3) = 1/(√7 - √3) x √7 + √3/√7 + √3 = √7 + √3/(√7)2 - (√3)2 = (√7 + √3)/4 Helpfulness, cooperativeness, knowledge.

Description : Twice the number of marbles with Aman exceeds thrice the number of marbles with Vinay by 12. Assume the number of marbles with Aman and Vinay as x and y respectively .Express the statement in the form of a linear equation in two variables. -Maths 9th

Last Answer : answer:

Description : What is the meaning of the name Aman ?

Last Answer : The name Aman means safe.

Description : How many times is it necessary to cultivate Ropa Aman in the main land ?

Last Answer : To cultivate transplanted aman, one has to cultivate the main land four to five times.

Description : What is Aman ?

Last Answer : Aman is Israel's military intelligence agency.

Description : Al-Aman is another name of which sura ?

Last Answer : 8 of Surah Al-Imran

Last Answer : Jolly Aman Low On the ground Born.

Description : Durand Line Treaty was signed by a British man Durand and King of Afghanistan ______ in 1893 A. Amir Aman Ullah B. Abdul Rehman C. Noor Ahmad D. Zaheer-ud-Din Babur

Last Answer : ANSWER: B

Description : Durand Line Treaty was signed by a British man Durand and King of Afghanistan ______ in 1893 A. Amir Aman Ullah B. Abdul Rehman C. Noor Ahmad D. Zaheer-ud-Din Babur

Last Answer : ANSWER: B

Description : Durand Line Treaty was signed by a British man Durand and King of Afghanistan ______ in 1893 A. Amir Aman Ullah B. Abdul Rehman C. Noor Ahmad D. Zaheer-ud-Din Babur 4

Last Answer : ANSWER: B

Description : Identify the crop on the basis of the following characteristics - 1. It is a kharif crop. 2. Aus, Aman and Boro are its three different growing periods in an agricultural yea 3. About one-fourth of the ... . Select the correct answer using the code given below - a. Wheat b. Rice c. Cotton d. Pulses

Last Answer : b. Rice

Description : Which type of Rice is generally grown in submerged land lower in elevation and harvested in summer season? a. Aus b. Aman c. Boro d. Pora

Last Answer : c. Boro

Description :  A company has to choose between two projects whose cash flows are as indicated  below; Project 1:  i. Investment - Rs. 15 Lakhs ii. Annual cost savings - Rs. 4 lakhs. iii. Bi-annual ... years xii. Salvage Value- 2 lakhs Which project should the company choose? The annual discount rate is 12

Last Answer : Year Project 1 Project 2 Outgo Saving NPV Outgo Saving NPV 0 15.0 0 =-15.0 14.0 0 = -14 1 0 4.0 = (4 / (1+.12)1 = 3.571 0.2 3.5 = (3.3 / (1+.12)1 = 2.95 2 0.5 4.0 = (3.5 / (1+.12)2 = 2.79 0.2 3.5 ... (1+.12)8 = 3.43 0.2 5.5  (3.5+2) = (5.3 / (1+.12)8 = 2.14 NPV = + 2.301 @12% = + 0.15

Description : How to load data from a .rds file into a Pandas dataframe -Web-Development

Last Answer : answer:

Description : How to find and remove duplicate rows from pandas dataframe -Web-Development

Last Answer : answer:

Description : Find the number of elements less than 'N' in each column of a Pandas DataFrame -Web-Development

Last Answer : answer:

Description : How to remove header from a pandas dataframe -Web-Development

Last Answer : answer:

Description : How to sort a pandas DataFrame by the values in a column -Web-Development

Last Answer : answer:

Description : Rename some of the columns of a Pandas DataFrame -Web-Development

Last Answer : answer:

Description : How to drop column(s) of a Pandas dataframe -Web-Development

Last Answer : answer:

Description : Replace old values with new values in a column of Pandas DataFrame -Web-Development

Last Answer : answer:

Description : How to compute mean and standard deviation for each column of a pandas dataframe -Web-Development

Last Answer : answer:

Description : How to create a copy of a pandas dataframe -Web-Development

Last Answer : answer:

Description : Python : Convert Pandas DataFrame to Dictionary -Web-Development

Last Answer : answer: