Home »
Python »
Python Pandas MCQs
Amongst which of the following is / are used to analyze the data in pandas
7. Amongst which of the following is / are used to analyze the data in pandas.
- Dataframe
- Series
- Both A and B
- None of the mentioned above
Answer: C) Both A and B
Explanation:
We can use series and dataframe to analyze the data in Pandas. Series is one one-dimensional labeled array that can store any data type like integers, strings, floating-point numbers, Python objects, etc. A DataFrame is a 2-dimensional labeled data structure with columns that can be of a variety of different kinds. We can think of it as a spreadsheet, a SQL table, or a dict of Series objects. It is one of the most widely used Pandas objects.