Informatics Practices
Fill in the blanks:
A _________ is a Pandas data structure that represents a 1 D array like object.
Related Questions
Sudhanshu has written the following code to create a DataFrame with boolean index :
import numpy as np import pandas as pd df = pd.DataFrame(data = [[5, 6, 7]], index = [true, false, true]) print(df)While executing the code, she is getting an error, help her to rectify the code :
- df = pd.DataFrame([True, False, True], data = [5, 6, 7])
- df = pd.DataFrame(data = [5, 6, 7], index = [True, False, True])
- df = pd.DataFrame([true, false, true], data = [5, 6, 7])
- df = pd.DataFrame(index = [true, false, true], data = [[5, 6, 7]])
Fill in the blanks:
_________ is a popular data-science library of Python.
Fill in the blanks:
A _________ is a Pandas data structure that represents a 2 D array like object.
Fill in the blanks:
You can use numpy._________ for missing data.