import pandas as pd
import numpy as np
x = pd.Series([True, True, False, False], index=[1, 2, 3, 4])
y = pd.Series([True, True, False, False], index=[1, 2, 3, 4])
print(x & y)
Pandas Boolean Operation in a Python List