I created a regression model using xgboost and Inside the predict function i gave input test features, i got the error as Invalid missing value:null

xgb=XGBRegressor(*xgb_params)
xgb_model=xgb.fit(X_train[features],y_train,
              sample_weight=X_train['dataweight'])

”’error incurred during prediction”’
xgb_predict=xgb.predict(X_test[features])