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 home,como_funciona,contato,comprou in leito...
I'm reading a CSV using BufferedReader reading row by line converting the result to a .txt. At the end of my txt is generating a line break after the last item.
I'm trying to find a way to remove last line break after the last item in the list....
I would like to know how to read a CSV file by taking the first and second column and compare the string contained in it with another string I want in the code.
Eg:
if(o conteudo do csv coluna 1=="positivo" && conteudo do csv colu...
I have a table in the database with the following structure:
+---------+---------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------+---------+------+-----+---------+--------------...
I have a file CSV and I have this list of words here: link
The CSV file has 3 columns, Text, user.name, and Class, and has about 100K of rows. I need to exclude from the first column of CSV all the words that appear in...
The data in a table has been exported to a CSV file and would like to import it into a table in the Oracle database. However I need it to be without the sqlldr command. Because this load will be done in Java, and I have restrictions on using SQL...
Consider two sets of data read from files of type *.CSV with Pandas . Each set has only one CPF Favorecido field, which contains millions of records. Each set of data is equal to one month.
I need to find out what records (CP...
Hello
I'm doing a project for school using IBM's Bluemix and I'm having some problems finding my error. I am using a database in CSV that has as parameters the neighborhood, number of rooms, area in square meters, price among other informatio...
I have a problem. I have a CSV file with 490 lines (on average, this value may vary) and would like to add 1 certain number every 50 lines.
Each line basically consists of 10 numeric digits and after these digits, a new line is created (if I'...
I'm trying to import a text file into excel through the following macro:
Sub Teste()
Dim intervalo As String
intervalo = "intervalo"
Workbooks.Add
ActiveWorkbook.Sheets("Plan1").Select
With ActiveSheet.QueryTables.Add(Co...