Complete the code to add a markdown cell with a title in Jupyter Notebook.
# [1] This is a title
In Jupyter Notebook, markdown cells use # to create titles.
Complete the code to import pandas library in a Jupyter Notebook cell.
[1] pandas as pd
Use import to bring pandas into your notebook.
Fix the error in the code to display the first 5 rows of a DataFrame named df.
df.[1]()The head() method shows the first 5 rows of a DataFrame.
Fill both blanks to create a dictionary comprehension that maps words to their lengths only if length is greater than 3.
{word: [1] for word in words if [2]The dictionary comprehension maps each word to its length using len(word). The condition filters words with length greater than 3 using len(word) > 3.
Fill all three blanks to create a dictionary comprehension that maps uppercase words to their counts only if count is greater than 0.
{ [1]: [2] for [3], [2] in data.items() if [2] > 0 }The comprehension maps each word in uppercase (word.upper()) to its count (count) only if the count is greater than 0. The loop unpacks word and count from data.items().