We can add a new row to a DataFrame DF using the ______ method.
df = pd.DataFrame({'Name': ['Ravi', 'Sita'], 'Marks': [80, 90]})
df.loc[2] = ['Amit', 75]
print(df) State whether the following statement is True or False:
In Pandas Series, the Positional index can be a string or an integer.
Naveen discarded various types of waste material without realizing that e-waste contains harmful substances that could pollute the environment. He wants to know which of the following will be considered as e-waste?
In which scenario is a bar chart preferred over a line chart?
Which of the following network topology uses a central cable (backbone) to connect all devices?
State whether the following statement is True or False:
In SQL, an aggregate function returns multiple values for each column on which it is applied.
State whether the following statement is True or False:
In Pandas Series, the Positional index can be a string or an integer.
Aditya is working on a DataFrame named df. He has written the statement:
print(df.loc['S2'])What will the above statement do?
In the context of creating a Pandas Series from a dictionary, which of the following statement is correct?
In Pandas, when extracting a portion of a Series ser1 using ser1[start:end] with positional indices start and end, which of the following statements is true?
In a Pandas DataFrame, which value for axis will be used to delete a column?