I'm trying to read data from a csv file, especially numbers but I'm getting an unexpected result.
example:
csv: "17.913,92";"17.913,92";
import csv
with open('eggs.csv', 'rb') as csvfile:
reader = csv.reader(csvfile, delimite...
I want to read a file on my PC but I get an error, maybe you can help me
import numpy as np
import csv
import logging
csvFile = 'C:/Users/Usuario/Desktop/house/GFG.csv'
def __init__(self, _data=csvFile, _shortTerm=10, _longTerm=15):
s...
Hello, I am doing a validation of the value of an input type text, and I want to validate it if it exists in a csv file, if it exists that performs certain actions, I was doing it with switch case, but they are more than 200 numbers of series....
I have the following method in the controller that passes parameters to a service method to do the query search, and the information is downloaded into a csv text file
@RequestMapping(value= "/views/formulario", method = RequestMethod.PO...
First of all, I would like to thank you if someone takes the trouble to read the question and second to warn that I am a total novice. I'm doing this for a hobby.
I'm doing a program to perform queries on very large .csv files with records fr...
I am creating a web with wordpress in local and I want to create a csv with my products to import them into woocommerce. How should I do this task? Should I create a list of products in excel? What fields should I create to be effective when imp...
I need to save a .csv file in MySQL with the following format:
9044;2018/10/05
The table in the database is as follows:
id_criptomoneda; precio_dolar; fecha
And I execute the following command with the related id of another tabl...
I need a little help.
I have a CSV file and I am reading it like this:
public class LectorDeArchivosCSV {
private List<Alumno> listaAlumnos;
public LectorDeArchivosCSV() {
listaAlumnos = new ArrayList<>();
}
public List<Al...
When consulting a API I get the following JSON :
{
"Count": 1,
"Data": [
{
"BlockedCount": 0,
"BouncedCount": 0,
"ClickedCount": 0,
"DeferredCount": 0,
"DeliveredCount": 0,
"HardBouncedC...
I need to be able to export an array to csv, please, the code:
<?php
require_once ("./conexion/conexion.php");
if (!$conn){
$msg = "Cannot connect to Oracle ".oci_error();
} else {
$msg = "Connected to Oracle";
}
$sql = 'SELECT *...