data.txt contains like :

146cd6a978544b0168fb11de000
148b7f63e9e2222377c9b364000
148b7f63e9e2222377c9b364000
148ee93eb7c77ef0d249b5d2800
148671515215639117054120400
148ce93eb7c77ef0a249b5d2800

5 th row Julia recognize as number ... How read(convert?) this file and 
sort data?
Paul

W dniu poniedziałek, 1 grudnia 2014 13:26:49 UTC+1 użytkownik Uwe Fechner 
napisał:
>
> Can you provide the file "data.txt"?
>
> It is not clear to me which kind of data is converted into this kind of 
> array.
>
> Uwe
>
> On Monday, December 1, 2014 12:50:18 PM UTC+1, paul analyst wrote:
>>
>> Some times in "Char" data is number like  1.4e26 below
>> How to process such data? sort, etc., ...
>>
>> julia> data=readcsv("data.txt")
>> 6x1 Array{Any,2}:
>>   "146cd6a978544b0168fb11de000"
>>   "148b7f63e9e2222377c9b364000"
>>   "148b7f63e9e2222377c9b364000"
>>   "148ee93eb7c77ef0d249b5d2800"
>>  1.4e26
>>   "148ce93eb7c77ef0a249b5d2800"
>>
>> julia> sort(data)
>> ERROR: `sort` has no method matching sort(::Array{Any,2})
>>
>> Paul
>>
>

Reply via email to