Informatics Practices
Write Python code to create the following Series Stock (using list):
1 PEN
2 PENCIL
3 ERASER
Related Questions
Carefully observe the following code:
import pandas as pd list_of_dict = [ { 'Name' : 'Sourab' , 'Age' : 35, 'Marks' : 91}, { 'Name' : 'Rohan', 'Age' : 31, 'Marks' : 87} , { 'Name' : ' Shalini', 'Age' : 33, 'Marks' : 78}, { 'Name' : ' Divya' , 'Age' : 23, 'Marks' : 93} ] df = pd. DataFrame (list_of_dict) print (df)Answer the following:
(i) List the index of the DataFrame df.
(ii) List the column names of DataFrame df.
What is the purpose of DROP TABLE command in MySql ? How is it different from DELETE command ?
Ms. Samantha has many electronic gadgets which are not usable due to outdated hardware and software. Help her to find the three best ways to dispose of the used electronic gadgets.
What do you understand about Netiquette? Explain any two such etiquette.