Hi Bryan,

Thanks a lot for your reply and your suggestions. :)
I will try them.

Thanks,
Kostas


On 24 July 2015 at 14:10, Bryan Jurish <[email protected]> wrote:

> moin Konstantinos,
>
> afaik, builtin support only includes PDL::Char, which is restricted
> fixed-length strings encoded as byte-values (e.g. ASCII).  There's also 
> Zakariyya
> Mughal's Data::Frame which seems capable of handling variable-length
> strings, but I'm unclear on the details; perhaps he can chime in.  Whenever
> I need to do something like this (very often, since I work with text data),
> I usually end up building an extra hash+array pair for mapping back and
> forth between strings and integer-IDs, and let PDL work with just the IDs.
> Not pretty, but it works.
>
> marmosets,
>   Bryan
>
> On Fri, Jul 24, 2015 at 2:38 PM, Konstantinos Billis <[email protected]>
> wrote:
>
>> Hi people,
>>
>>
>> Just a quick question. I am using PDL to build arrays, for example "
>> zeroes" function.  If I understand correctly, those elements of the
>> arrays should contain only numbers (or bad, inf etc). Could I use any other
>> function for creating strings/words of lists/arrays instead of numbers? In
>> other words, for example, to initialize an array with NULLs and then add
>> strings or words in particular positions of the array.
>>
>>
>> Many Thanks,
>> Kostas
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> pdl-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pdl-general
>>
>>
>
>
> --
> Bryan Jurish                           "There is *always* one more bug."
> [email protected]         -Lubarsky's Law of Cybernetic Entomology
>
------------------------------------------------------------------------------
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to