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

1 Answer

Answer :

In a DataFrame, Axis= 1 represents thecolumn elements.

Related questions

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 : 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 : 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 : 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 following DataFrame, classframe Rollno Name Class Section CGPA Stream St1 1 Aman IX E 8.7 Science -Technology

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

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 : Find the number of elements less than 'N' in each column of a Pandas DataFrame -Web-Development

Last Answer : answer:

Description : Python : How to calculate the square root of all elements of a Pandas DataFrame -Web-Development

Last Answer : answer:

Description : Python: Replace all NaN elements in a Pandas DataFrame with 0s. -Web-Development

Last Answer : answer:

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 : 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:

Description : Python: how to save a pandas dataframe in a compressed CSV file -Web-Development

Last Answer : answer:

Description : [emailprotected] represents an........... -Technology

Last Answer : E-mail address

Description : While entering a formula, cell address B$5 represents (a) Absolute Referencing -Technology

Last Answer : (b) It represents mixed reference because we are using $ sign before 5 only. Hence, as we will drag this only B will change but 5 will remain the same.

Description : If a graph represents the decay of strontium 90 in an igneous rockwhat event occurred at 0 years on the horizontal axis?

Last Answer : What is the answer ?

Description : Which set of ordered pairs represents a vertical reflection (over the x-axis) A. (5, –1) to (–5, –1) B. (–2, –3) to (–2, 3) C. (–1, –5) to (1, 5) D. (3, –2) to (–3, –2)?

Last Answer : help me plz

Description : Equator represents – (1) line joining North and South poles (2) imaginary line passing round the Earth midway between North & South poles (3) a belt (ring) around the planet Saturn (4) axis of rotation of Earth

Last Answer : (2) imaginary line passing round the Earth midway between North & South poles Explanation: An equator is the intersection of a sphere's surface with the plane perpendicular to the sphere ... astronomical bodies have equators similarly defined. The length of the Equator is roughly 40,075 kilometres.

Description : In Mohr’s circle of strain, y-axis represents a. Shear strain b. Half of shear strain c. Normal strain d. Half of normal strain

Last Answer : b. Half of shear strain

Description : The graphical method of Mohr's circle represents shear stress (τ) on ______ a. X-axis b. Y-axis c. Z-axis d. None of the above

Last Answer : b. Y-axis

Description : . Which attribute of text tag of SVG represents the shift along with y-axis?

Last Answer : 'dy' attribute of text tag of SVG represents the shift along with y-axis.

Description : Which attribute of text tag of SVG represents the shift along with x-axis?

Last Answer : 'dx' attribute of text tag of SVG represents the shift along with x-axis.

Description : Which attribute of text tag of SVG represents the y axis cordinates of glyphs?

Last Answer : 'y' attribute of text tag of SVG represents the y axis cordinates of glyphs.

Description : Which attribute of text tag of SVG represents the x axis cordinates of glyphs?

Last Answer : 'x' attribute of text tag of SVG represents the x axis cordinates of glyphs.

Description : Equator represents (1) line joining North and South poles (2) imaginary line passing round the Earth midway between North & South poles (3) a belt (ring) around the planet Saturn (4) axis of rotation of Earth

Last Answer : imaginary line passing round the Earth midway between North & South poles

Description : Y –axis in a CRO normally represents

Last Answer : Volt 

Description : ………… elements help to express emotions or feelings in E_mail or text messages. -Technology

Last Answer : Emoticon elements help to express emotions or feelings in E-mail or text messages.

Description : Differentiate between container and empty elements used in HTML. -Technology

Last Answer : Container elements HTML container elements require a starting as well as an ending tags.e-g , , .They affect the text appearing between their starting and ending tags.Empty elements HTML empty elements require just a ... and not an ending tag.e.g. , , .They just carry out the job assigned to them.

Description : Container elements in HTML require (a) starting tag (b) ending tag -Technology

Last Answer : (c) In HTML, container elements are required as both starting and ending tags.

Description : By which we can describe the properties of elements? -Technology

Last Answer : The properties of elements can be described through attributes.

Description : Explain child elements with an example. -Technology

Last Answer : The elements nested inside other elements are called child elements.Consider the following code:

Description : Explain with a help of an example, how root elements are placed in a XML document? -Technology

Last Answer : XML documents must contain one element that is the parent of all other elements. This element is called the root element. The root element encloses all other elements in XML. All other elements inside the ... then comes the child element which in turn stores the and of the employee in the tags.

Description : A root element is (a) a bridge between HTML and XML (b) the parent of all other elements -Technology

Last Answer : (b) A root element is the parent of all other elements.

Description : In all XML documents, the ………….. element is the parent of all other elements. -Technology

Last Answer : In all XML documents, the root element is the parent of all other elements.

Description : The root element is a parent element of all other elements in data instance. -Technology

Last Answer : True The root element is an element that contains all other elements in XML document.

Description : An XML document can have only limited number of child elements. -Technology

Last Answer : False XML document can have an unlimited number of child elements.

Description : Name any four basic elements of a slide. -Technology

Last Answer : The four basic elements of a slide are as follows:1. Titles2. Subtitles3. Drawing objects4. ClipArt

Description : Which statement is true? (a) All XML elements must have a closing tag. -Technology

Last Answer : (d) All of the above

Description : Mr. Harry wants to draw a line chart using a list of elements named LIST. -Technology

Last Answer : (i) PLINE.plot(LIST)(ii) PLINE.ylabel(“Sample Numbers”)

Description : Write a Numpy program to create a 3x3 identity matrix, i.e. diagonal elements are 1, the rest are 0. Replace all 0 to random number from 10 to 20 -Technology

Last Answer : import numpy as nparray1=np.identity(3)print(array1)x=np.where(array1==0)for i in x:array1[x]=np.random.randint(low=10,high=20)print(array1)

Description : Write a Numpy program to create a 3x3 identity matrix, i.e. non diagonal elements are 1, the rest are 0. Replace all 0 to random number from 1 to 10 -Technology

Last Answer : import numpy as npZ = np.arange(9).reshape(3,3)print (Z)x=np.where((Z%2)==0)for i in x:Z[x]=np.random.randint(low=10,high=20)print(Z)

Description : Unreacted core model' represents the reaction involving (A) Combustion of coal particles (B) Roasting of sulphide ores (C) Manufacture of carbon disulphide from elements (D) None of these

Last Answer : (B) Roasting of sulphide ores