Questions tagged [read-data]
130 questions
16
votes
1 answer
Pandas: parse merged header columns from Excel
The data in excel sheets is stored as follows:
Area | Product1 | Product2 | Product3
| sales|sales.Value| sales |sales.Value | sales |sales.Value
Location1 | 20 | 20000 | 25…

Samarth Bharadwaj
- 559
- 2
- 5
- 15
9
votes
1 answer
Electron - problem creating file, error "EROFS: read-only file system"
Well, I'm working on a certain app that would improve work in the company. For this I would need to create, save and read a file without a dialog box.
I created this code with the help of documentation and the Internet:
const electron =…

Mativve
- 103
- 1
- 2
- 5
4
votes
1 answer
How to read the data from Text File in Android React Native?
I want to read the cell numbers from the text file in Android using react native and convert all data to string.
Right now I am here:
import RNFS from "react-native-fs";
const rootPath = RNFS.DocumentDirectoryPath;
readFile = async () => {
…

Imran Noor
- 491
- 2
- 7
- 22
2
votes
2 answers
TDMS file read data in python
During the project, I had to deal with a TDMS file.
I'm asking because the file could not be read immediately.
My Goal: Perform analysis by converting TDMS file into DataFrame format
First attempt,
-Perform TdmsFile open using npTdms…

Okgukui
- 23
- 1
- 3
2
votes
1 answer
How to load .dta (preserving labels) most comfortable in R?
I work with .dta files and try to make loading data as comfortable as possible. In my view, I need a combination of haven and readstata13.
haven looks perfect. It provides best "sub-labels". But it does not provide a column-selector-function. I…

Marco
- 2,368
- 6
- 22
- 48
2
votes
0 answers
Missing bytes while reading the bytes from C# serial port class
I wrote down some app in C# to read the bytes from (USB-SerialPort) payment terminal.
But I can see the bytes are missing/overridden in my application while I read from the read-Buffer of windows serial port.
I have following piece of code for…

Raj
- 151
- 1
- 14
2
votes
2 answers
Azure - Sending data from IoT Hub to Web App Backend
I'm searching for a solution to get data from the Azure IoT Hub to the backend of a Web App also hosted in Azure which is written in ASP.NET 4.6.
It would be best to just receive the raw Json string as fast as possible.
I found others suggesting…

rEsTrisA
- 37
- 7
2
votes
2 answers
How to sort a vector with multiple sets of data in each row?
I'm very new to R and coding.
Trying to sort out a set of data which I obtained by:
filename = read.delim("UA0001.dat", header = FALSE, skip=16)
What I get is a matrix with one column and multiple row, where in each column there are 8 different…

AA16
- 27
- 2
2
votes
2 answers
java serial read() is waiting indefinitely - how to break it?
I have a serial device connected to my PI that I read data from it...
everything is good , but sometime the cable move or the serial device is unplug.
then the
line = r.readLine();
get stuck
I have try to overcome this problem by:
BufferedReader…

Korenron
- 101
- 2
- 10
2
votes
1 answer
How to read data from excel sheet in python?
Is there any python script to read data from excel sheet in selenium python framework?
I have written below code but i don't think its completely right
def getcell(rows,cols):
table=list()
record=list()
for x in range(rows):
for y in…

CPP
- 29
- 1
- 5
2
votes
1 answer
tf.contrib.data.TFRecordDataset not able to read from *.tfrecord
In the context of creating and loading a .tfrecord file i encountered the following Problem:
Generating the dataset.tfrecord file
The Folder /Batch_manager/assets contains some *.tif Images that are used to generate a dataset.tfrecord file:
def…

Frederik Elischberger
- 106
- 1
- 11
1
vote
2 answers
Reading a text file in every one hour from a server
I have a text file stored in a server which can be accessed by a user name and password. The text file is updated each 1 hour. I want to build a python program which can read the text file in every 1 hour using the user id and password. I will later…

Abdullah Al Mamun
- 65
- 7
1
vote
2 answers
Format Error when reading decimals via IfxDataReader occurs only on my PC
I am trying to get data from an IBM Database using the IfxDataReader like this:
Using myCon As New IfxConnection("CONSTRING")
Dim myQuery = "SELECT decimalValue FROM exampletable"
Using myCmd As New IfxCommand(myQuery, myCon)
…

Waldi
- 77
- 10
1
vote
0 answers
Read in feather file directly from GitHub in R
How can I read in a .feather file from the web (e.g. GitHub) in R? I can read formats as .csv or .dta from GitHub directly as raw
# CSV
coursedata <- read.csv(file =…

Marco
- 2,368
- 6
- 22
- 48
1
vote
0 answers
Power bi mysql fatal error encountered during data read
Do power Bi has some limits of reading a Data from mysql database? I am using a query that for a month give me sth like 700.000 rows with no big problems. When I am trying to get period of half year(it is around 4 millions rows) I got error "mysql…

Mateusz P
- 211
- 1
- 3
- 12