16 questions from the last 30 days
1
vote
3
answers
160
views
How to lazily load DataTable rows from a large text file using IEnumerable and yield return in C#?
I'm working on a C# application where I need to read a very large text file and convert its contents into a DataTable. However, I don't always need all the rows—so I want to avoid loading the entire ...
1
vote
1
answer
81
views
Python, parse nested JSON to make it flat for CSV
I'm trying to store API output into CSV/db and can not figure out how I can make for those Key in "tierList". One row in my case should be on bin and I need key as a columns in my output.
Is ...
1
vote
1
answer
80
views
Saving Movement Data as a CSV File in VR Headset (C#/Unity)
I'm working on a project where I want to collect movement data (X/Y/Z position and rotation) from a VR headset (a PICO Neo 3 Pro Eye) using a C#/Unity script, and export it as a CSV.
I have a script ...
Best practices
0
votes
2
replies
72
views
Index timestamp shiny for python
def prepare_dataframe(df):
df.rename(columns={
'Bomba Calor - Temperatura de Aire (°C)': 'temp_aire',
'Bomba Calor - Temperatura Entrada (°C)': 'temp_entrada',
'Bomba Calor ...
2
votes
0
answers
74
views
How do you get specific data in unknown row from a csv file using known data from the same row? [duplicate]
import geopy # used to get location
from geopy.geocoders import Nominatim
import pandas as pd
from pyproj import Transformer
def get_user_location(): # user location
geolocator = Nominatim(...
0
votes
0
answers
67
views
Reading in values from CSV and making sure they are non-scientific format in R? [duplicate]
Assume I have the following Excel Sheet:
Location
Mar2000
London
1234567891011
Tokyo
12345667897
These are the raw values saved in a CSV format e.g. my_data.csv (assume it is CSV not UTF-8 format). ...
0
votes
1
answer
44
views
Import-Csv on file with `"#"` in the header
I'm importing a CSV generated by the chess cli tool Ordo. It has this output format:
"#","PLAYER","RATING","ERROR","POINTS","PLAYED","(%...
-3
votes
0
answers
31
views
How can i convert a string csv to an array of real with tia portal scl [closed]
I have a qr code reader in my machine where i get a csv with data for the machine so it knows how to fill it. But i cant figure out how to get al the values in the string in a array of real so i can ...