Question:

List any two characteristics of Pandas library in Python.

Show Hint

Think of what Pandas offers: Series and DataFrame structures, file reading and writing, missing data handling and quick data analysis.
Show Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Step 1: Understand what is asked:
We must name any two features of the Pandas library. Two clear points with a short reason are enough for 2 marks.

Step 2: Characteristic 1:
Pandas gives two main data structures, the Series (one-dimensional) and the DataFrame (two-dimensional table). These hold labelled data in rows and columns.

Step 3: Characteristic 2:
Pandas can read and write data from many file types such as CSV, Excel and SQL tables. For example, pd.read_csv('data.csv') loads a CSV file into a DataFrame.

Step 4: Other points you may use:
Pandas handles missing data (NaN) with functions like isnull() and fillna(). It also supports slicing, filtering, grouping and statistics on data. Any of these can replace a point above.

Final Answer:
Two characteristics of Pandas: (i) it has the Series and DataFrame data structures for labelled data, and (ii) it reads and writes data in formats such as CSV and Excel.
Was this answer helpful?
1
0

Top CBSE CLASS XII Informatics Practices Questions

View More Questions

Top CBSE CLASS XII Pandas Series and DataFrame Questions

View More Questions