Thanks! I’ve made some progress using that. But I got stuck with delimiters. According to the thread (from 2021) which I quote at the end of this message, you have to preprocess the input text file if it uses multiple delimiters. Is that still true today? I thought that it was quite usual to expect to be able to specify a Regex, along the lines of
df = CSV.read(myfile, DataFrame; delim=r"\s+") # any sequence of "space" characters
so that any nonzero sequence of “space” characters ( \s
) be tread as one single delimiter.
Currently CSV.read()
isn’t able to “guess” the number of columns in my datafile, presumably because the datafile uses a mixture of tabs and spaces. readdlm()
correctly detects the delimiters.