Computer Science, asked by prosteamer104050, 1 month ago

Which of the following input can be accepted by DataFrame?

a) Structured ndarray
b) Series
c) DataFrame
d) All of the mentioned​

Answers

Answered by pandeydipanshu082
0

Answer:

Dataframe is the correct answer

Answered by Tulsi4890
0

The correct option is d) All of the mentioned.

DataFrame is a Python data structure that is used to represent tabular data. It is provided by the pandas library. It accepts a variety of input formats, including:

a) Structured ndarray: Similar to a table in a database, a structured ndarray is a multidimensional array with a data type that includes named fields. DataFrame can take structured ndarrays and convert them to tabular format.

b) Series: Another data structure provided by pandas that represents a one-dimensional labelled array is the series. A series can be fed into DataFrame and converted into a single-column DataFrame.

c) DataFrame: A DataFrame can accept another DataFrame as input and combine them to form a single DataFrame.

Therefore, the correct answer is d) All of the mentioned, as DataFrame can accept input in any of these formats and convert them into a tabular format that is easy to work with. This flexibility makes DataFrame a versatile data structure that can be used in a wide range of data analysis and manipulation tasks.

To learn more about DataFrame from the given link.

https://brainly.in/question/12305918

#SPJ3

Similar questions