Given a dataframe d1 with columns name, stream and Roll_no.

Prabhat wants to print the details of 'Bhavya' along with stream. Identify the correct statement.

1
print(d1[['name'], ['stream']] [d1['name'] == 'Bhavya'])
2
print(d1[['name', 'stream']] [d1['name'] == 'Bhavya'])
3
print(d1[['name']= ='Bhavya'])
4
print(d1[['name', 'stream']] [d1['name'] = 'Bhavya'])

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation