append(), their row labels (the index values) are copied into the result. The same label can then appear twice. Pandas has a parameter to check for this. verify_integrity is a Boolean. When it is True, pandas checks the new index for duplicates. If it finds any, it raises a ValueError. The default is False, so no check is done. I checked this in Python with pd.concat([d1, d2], verify_integrity=True) and got a ValueError for duplicate labels. ignore_index is a real parameter. When it is True, old labels are dropped and new labels 0, 1, 2 and so on are given. Setting it to False keeps the old labels and does not raise any error. So option 1 is wrong. row_index in append(). So option 2 is wrong. append() has no in_place parameter. It always returns a new DataFrame. So option 3 is wrong. Given the following DataFrame df:
| PNO | NAME |
|---|---|
| 111 | ROHAN |
| 222 | MEETA |
| 333 | SEEMA |
| 444 | SHALU |
| 555 | POONAM |
Select the correct commands from the following to display the last five rows:
Given the following series ser1:
| Index | Value |
|---|---|
| 0 | 69 |
| 1 | 80 |
| 2 | 20 |
| 3 | 50 |
| 4 | 100 |
| 5 | 70 |
State the output of the following command:
print(ser1 >= 70)
Which of the following are the correct commands to delete a column from the DataFrame df1?
Select the statements that are CORRECT regarding patterns of biodiversity.
Which of the following hormone is not produced by placenta ?
List - I | List - II | ||
| A | Streptokinase | I | Blood-Cholestrol lowering agents |
| B | Cyclosporin | II | Clot Buster |
| C | Statins | III | Propionibacterium sharmanii |
| D | Swiss Cheese | IV | Immuno suppressive agent |
Which of the following option determines percolation and water holding capacity of soils ?