Skip to content

Input data cannot be a list XGBoost

Here is my code. and the error I’m getting is TypeError: Input data can not be a list. The data coming from test_data is a csv with a team name and obs which is a float like this NYY 0.324 Every way to solve it I’ve seen is just to put it in a 2d array like I did –

DropBox – cant generate access token / missing scope?

I just got started with using the DropBox API for Python – i want to use it to store files that my Discord Bot previously downloaded, but even following the official tutorial 1:1 i cant get it to just read and write files. I registered the app and generated an access token, and it always tells me dropbo…

How to add a console to a tkinter window

I want a way to add a console to a tkinter window or redirect the output of the eval or exec functions to the maybe a uneditable text widget in tkinter. Also I want it so the code does not have to be saved first to get executed, I want it to be executed nevertheless. I have already viewed a