outer join of multiple tables
显示 更早的评论
I have multiple (about 15) csv files that I would like to outerjoin. I would like to know whether there is a simple way to write the code.
5 个评论
Rik
2018-6-6
I'dd suggest writing a loop. What did you already try?
Z = load first CSV file
for k = 2:number of CSV files
A = load next CSV file
Z = outerjoin(Z,A);
end
alpedhuez
2018-6-6
" Then the filename should be well-behaved"
I don't know what a "well-behaved" filename is. There is absolutely no requirement that the filenames have to follow any particular naming convention or sequence. You might like to read this:
"and indexed with k?"
Yes, that is the point of using a loop.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Signal Processing Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!