14. Why does following code cause error ?

import pandas as pd

dfc1 = pd.DataFrame([2, 3, 4])
dfc2 = pd.DataFrame([[2, 3, 4]])
print(dfc1 == dfc2)

The following code causes error because dfc1 has one columns while dfc2 has one row. Two dataframes can be compared only when they both have the same structure
ValueError: Can only compare identically-labeled DataFrame objects