0
I am currently switching for R to Python so please be patient with me. Is the following a good way to count the number of rows given column names and values?
import pandas as pd
df = pd.DataFrame([["1", "2"], ["2", "4"], ["1", "4"]], columns=['A', 'B'])
cn1 = "A"
cn2 = "B"
cv1 = "1"
cv2 = "2"
n...