Skip to main content

Posts

Showing posts with the label Chapter :- 1 Python Pandas - I

ads1

Chapter :- 1 Python Pandas - I

 Chapter :- 1 Python Pandas   Answer the Following Question    Q.1 How many Data Structures available in Pandas? Ans. Two Data Structures available in Pandas 1. Data Series / Series  2. Data Frame Q.2 Write import Statement for Pandas Module Ans. import pandas as pd Q.3 Name some Python's data science Libraries. Ans. Popular Python libraries used for data science are NumPy, Pandas, Scipy etc.. which are used with popular Visualization libraries matplotlib, Seaborn etc. Q.4 What is the relationship between the rank of an array and the shape of the array? Ans. The number of dimensions (axes) in an ndarray is known as its rank. A shape is a tuple that stores the number of elements in each dimension of the ndarray.  Thus the length (len()) of shape tuple is same as that of rank of the ndarray. Q.5 Define the following terms: (a) array slice (b) array subset. Ans. (a) An array slice is a subset of elements from an existing ndarray. An array slice is an ndarray itself.  (b) Like an a

ads2