Wyciągnij ints ze strun w pandy
df['B'].str.extract('(\d+)').astype(int)
Difficult Dog
df['B'].str.extract('(\d+)').astype(int)
df['B'].str.extract('(\d+)').astype(int)