Questions tagged [read-data]

101 questions
10
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…
5
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
  • 63
  • 2
  • 4
3
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
  • 371
  • 4
  • 20
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
  • 1,095
  • 1
  • 8
  • 25
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…
2
votes
1 answer

How can I grab data from this web site?

There is a site here (http://www.tsetmc.com/Loader.aspx?ParTree=151311&i=46741025610365786#), that each field of this table(specified by yellow squares) shows information about one specific day. What I need to do is to read only حجم row of each…
user3486308
  • 1,776
  • 3
  • 25
  • 51
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
  • 9
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…
1
vote
2 answers

There's an InputMismatchException, how do i fix it?

The question is to output the total salary and average salary of each rank, this is my code: URL url=new URL("http://liveexample.pearsoncmg.com/data/Salary.txt"); Scanner input=new Scanner(url.openStream()); …
Dice Highe
  • 13
  • 4
1
vote
1 answer

How can I read the data in the excel file with reactjs or javascript using the path to the file

I want to read the contents of the file directly by using the file path. I can do this by having the file selected. But I don't know how to do it using the direct file path. I could not find any examples or sources for this. Below is how I read the…
1
vote
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
  • 13
  • 2
1
vote
1 answer

Read data in a url in R

I want to read the data in the following url into R but I couldn't do it. Does anyone have any idea about it?? Thanks! http://web.stanford.edu/~hastie/ElemStatLearn/ I need the data Ozone
crazystats
  • 23
  • 3
1
vote
0 answers

What is the best way to handle concurrent sharing of configuration data

I am thinking to rewrite a monolithic C/C++ application (intially it was a single C++ executable) and I am trying to design my application to be more modular. I was thinking that I could deliver all my module as dll (or .so object on a linux…
Dypso
  • 511
  • 1
  • 5
  • 14
1
2 3 4 5 6 7