Question: PARTICIPATION ACTIVITY 2 . 6 . 3 : Constructing a dataframe. Complete the following statement: country = pandas. _ _ A _ _ ( _

PARTICIPATION ACTIVITY
2.6.3: Constructing a dataframe.
Complete the following statement:
country = pandas.__A__(
__B__=[['China', 'Asia', 9572900],
['Bangladesh', 'Asia', 143998],
['Brazil', 'South America', 8547403],
['Norway', 'Europe', 358207]],
__C__=['Country', 'Continent', 'Population'],
__D__=[0,1,2,3])
print(country)
Country Continent. Population
0 China Asia 9572900
1 Bangladesh Asia 143998
2 Brazil South America 8547403
3 Norway Europe 358207
1)
What is A?
Check
Show answer
2)
What is B?
Check
Show answer
3)
What is C?
Check
Show answer
4)
What is D?
Check
Show answer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!