Posts by JKFher • 77 points
5 posts
-
2
votes2
answers68
viewsQ: Iterator should return a String
Hello, I have the following code: import csv def carregar_acessos(): X = [] Y = [] arquivo = open('acesso_pagina.csv', 'rb') leitor = csv.reader(arquivo) next(leitor) for…
-
1
votes2
answers1240
viewsA: Is there a way to auto-increment the id in Mongo?
Mongodb’s own documentation has an example and shows you how to do it. Even they say that the method used is more recommended for the _id, just what you need. Give a look HERE.…
-
3
votes3
answers1153
viewsQ: Next() in CSV Reader with Python 3
Hello, I am taking a course of Machine Learning/Classification and well it uses a CSV file in which one should ignore the first line of the file. So I made the following code: import csv def…
-
0
votes1
answer188
viewsQ: PREDICT error in Scikit-Earn
I recently started to learn a little about Machine Learning and grading, through a course at Alura. Well, I tried to perform the first exercise, but I couldn’t due to an error that I don’t know what…
-
1
votes2
answers444
viewsQ: How to configure the Django environment and maintain settings?
Hello, I’m starting to learn Django and well part of the material teaches how to Make Environment Setup with Virtualenv. However I am having many difficulties to configure the System. First, I use a…