Le dimanche 09 février 2014 à 22:10 -0800, John Myles White a écrit : > To elaborate on John’s answer, df[“A”] (or df[:A] in newer versions) > is the way to get access to a single column of a DataFrame. This is > like df$A in R. > > ' > Once you have the column, you can index into elements like df[“A"][1]. > From there, you could do df[“A"][1][11:13]. > > > At the risk of being too detailed, it might be worth noting that > indexing into strings is risky business unless they will always be > ASCII, since Julia indexes into strings by byte, rather than by > character. > There is probably the need for a function alike to substr() which would take a number of characters rather than bytes. It would be a very simple wrapper around chr2ind(), but I think this is needed for convenience, and to ensure English-speakers (booh! ;-) don't forget not everybody is using ASCII, and rely on plain indexing.
Regards
