This tag refers to the process of converting the data type of one piece of information into another type.
Questions tagged [data-conversion]
1963 questions
0
votes
2 answers
How can I change the structure format of an xml file?
I have an large set of xml files and I want to change its format a bit. How can i do that?
here is my problam: for example I have…

Farshad
- 41
- 1
- 1
- 9
0
votes
1 answer
How to reinterpret data given by AVAudioRecorder as const char *?
PROBLEM:
The problem I am trying to solve is the following. I have audio data recorded by AVAudioRecorder. I can get the NSData by:
NSData *data = [NSData dataWithContentsOfURL: self.audioRecorder.url];
But then I need to convert/reinterpret this…

Mongo Hooli
- 45
- 5
0
votes
1 answer
How to convert columns into matrix and table stored in list by complex conditions [R]
I have a data frame which contains households' information on their trips in a day.
df <-…

HSJ
- 687
- 6
- 16
0
votes
1 answer
How to convert a CSV file into an HTML listing
Most of the Q&A I found online on this topic were about converting a CSV file into an HTML table, which is not what I am trying to achieve here.
I have a CSV table with 70+ entries and the following…

Thibaud Clement
- 6,607
- 10
- 50
- 103
0
votes
2 answers
How to modify dataframe column?
dataframe column component region, x1 mean, x2 mean, x1 se, x2 se.
I want changed dataframe for line graph (ggplot)
finally, i make column region, part, mean, se. (part is new column)
how to use code ?
#data.frame = temp
region x1 x2 y1 …

Sung min Yang
- 31
- 7
0
votes
1 answer
unsigned int overflow error in converting image to MNIST format
I'm a newbie of deep learning utilizing tensorflow.
I want to make the own model that predict my custom images that are constructed on the grayscale.
But the only thing that I know is MNIST example utilizing tensorflow.
So I used a converting…

YangSsong
- 87
- 1
- 8
0
votes
2 answers
I want to export data from oracle database to csv, and I am putting a number filter on a varchar column. It thows ORA:01722 error. Please suggest
Select count(*) from table where loc between 300 to 400.
loc is a varchar column.
it is not selecting all the data
checking the count, gives ORA :01722 error
exporting the results with error.
Edit from comment:
loc contains values less than 300,…

sahiba thakral
- 1
- 3
0
votes
1 answer
Convert integer column to date column using sqlite query
I am using SQLite.
In my database, I have a integer column value like 20050819. I would like to convert this as date column as like 2005-08-19.
I can achieve my requirement when using the function CONVERT(columnName, DATETIME) in MySQL server. But I…

Kavitha M
- 263
- 1
- 7
- 23
0
votes
1 answer
Excel Data Conversion Macro Not Recognising Numbers with < at the Start
I am working with lots of laboratory test results that are presented within one column in excel however the results come in different units from different labs so I need to convert some of the data so that all of the lab data is in the same units.
I…
0
votes
0 answers
How can I convert a git hash to a byte array with length 20 in C#?
How can I convert a git hash to a byte array with length 20 in C#?
At the moment I represent the git hash as a string:
string gitHash = "0x29932f3915935d773dc8d52c292cadd81c81071d";
I have tried this:
byte[] gitHashBytes =…

Cryt1c
- 97
- 1
- 1
- 11
0
votes
1 answer
Getting error using "GROUP BY WITH ROLLUP" and "ORDER BY"
I could use your help on this. I am running a stored procedure in SQL Server 2008 R2 where I import data into an Excel worksheet.
I am able to import the information I need just fine except for the order of the output.
This is what I get:
1 - OUTCO…

user9909962
- 1
- 2
0
votes
2 answers
How to convert 16bit binary file to 32bit file?
i have several 16bit binary files, that i need to convert into 32bit binary files in python.
i have tried the following:
data16 = np.fromfile(data_dir+fn, dtype=np.uint16)
print("16bit " + str(data16))
convert =…

Nanoni
- 451
- 2
- 7
- 20
0
votes
0 answers
Converting array to string implementing "and" only onto the last index
looked through the forum and only found the basics to converting arrays into strings. I'm looking to convert the array with commas and adds a final "and" to the last number
array = [1, 2, 3, 4]
=> array= "1, 2, 3, and 4"

Rchan
- 23
- 4
0
votes
2 answers
How to cast interface {} to struct
I was looking for how to cast the interface to a struct, but I do not how I can not do it.
I will try to explain my problem.
type Result struct {
Http_code int
Http_msg string
Response interface{}}
This structure is returned by a…

Mario skill
- 39
- 1
- 1
- 2
0
votes
2 answers
Change of value to the converter Int64 in string Python
I have a problem understanding what causes the date value to change when I convert.
I have the following value "19670619", type int64.
I need to convert to String and leave the date "06/19/1967".
I did it this way:
Op['dt'] =…

Brenda Xavier
- 129
- 8