Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I am performing a machine learning implementation on a data given in json format.
I haven't tried much because I have no experience.
My code to read is:
with open('attempts.json') as my_file:
d = json.load(my_file)
I am getting error like:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I have replaced my attempts.json file which was 260mb to grades.json which is 12kb but still having same problem.
Your json file must have content and the format is correct.
Based on this error, I think your json file is empty.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 days ago.
Improve this question
Well I am trying to work with data in a csv file and I am trying to get the data in a list by trying to access it, but I dont know whats wrong (I am watching a tutorial, link:https://www.youtube.com/watch?v=Ej_02ICOIgs&t=3203s
This is my main file
This is the CSV file
I tried looking in stackoverflow but there arent helpful responses can anyone help?
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
User should be able to provide a Project and Name, and program should be able to
predict status from given excel sheet using python.
I am able to perform this task using excel
INDEX($C$2:$C$16,MATCH(E2&F2, $A$2:$A$16&$B$2:$B$16,0))
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
I don't see any circular dependency, no misspelling, and no misposition of my class. It is still having an import error nonetheless.
I tried writing a function to take in a string, and return that string but all uppercase, and with all of the "S" characters removed. I was expecting to be able to import this into my test file under the same directory, but it is unable to import.enter image description here
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
newRow = ["some_data", "some_data", "=MULTIPLY(A1;BA)"]
When I'm trying this, in my google sheet, the cell in filled by : '=MULTIPLY(O33;M33) as a string. How can I make my equation usable ?
Remove the "" in your code will do the trick
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
This is the package which has a webapp demo in it.
However, when I login use this demo, I get an error.
How to make this demo running on the gae-launcher?
Looks like a bug in gaema.
The line that's failing is trying to urlencode a dictionary of arguments that get passed to the OpenID endpoint. One or more of the values, perhaps your first or last name, has non-ASCII characters.
You might be able to work around it by replacing instances of this:
urllib.urlencode(args)
With this:
urllib.urlencode(dict([(k, args[k].encode('utf-8')) for k in args]))
For a more permanent fix, I would report the issue here:
http://code.google.com/p/gaema/issues/list