I have some ambiguities... Why some columns works when I try to make predictions and others no

I have a CSV file and I want to make analysis on them. I will atached a image here with it. But when I try to make predictions with some columns from it, for example ‘price’ and ‘reviews’ it works, but from ‘price’ and ‘bedrooms’ doesn’t work(ERROR: bedrooms don’t exist or NameError: name ‘Bedroom’ is not defined etc… Why?

df = pd.read csv('airbnb dates.csv’, sep=’;’)
listings object
url object
guests object
bedrooms object
bed object
bathrooms object
room type object price float64 host name object
reviews int64
stars float64
location object
latitude int64
longitude int64
dtype: object

@ArianaAnd maybe try changing bedrooms from objects to int64.

@mriepe-lab Is it, and don’t works. I did the conversion from objects in int64