1 function resu = df_colmeta(df)
3 %# function resu = df_colmeta(df)
4 %# Returns a new dataframe, initalised with the meta-information
5 %# about columns from the source, but with empty data
7 %% Copyright (C) 2009-2012 Pascal Dupuis <Pascal.Dupuis@uclouvain.be>
9 %% This file is part of Octave.
11 %% Octave is free software; you can redistribute it and/or
12 %% modify it under the terms of the GNU General Public
13 %% License as published by the Free Software Foundation;
14 %% either version 2, or (at your option) any later version.
16 %% Octave is distributed in the hope that it will be useful,
17 %% but WITHOUT ANY WARRANTY; without even the implied
18 %% warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
19 %% PURPOSE. See the GNU General Public License for more
22 %% You should have received a copy of the GNU General Public
23 %% License along with Octave; see the file COPYING. If not,
24 %% write to the Free Software Foundation, 51 Franklin Street -
25 %% Fifth Floor, Boston, MA 02110-1301, USA.
28 %# $Id: df_func.m 7943 2010-11-24 15:33:54Z cdemills $
33 resu._cnt(2) = df._cnt(2);
34 resu._name{2} = df._name{2};
35 resu._over{2} = df._over{2};
36 resu._type = df._type;
37 %# init it with the right orientation
38 resu._data = cell(size(df._data));
39 resu._rep = cell(size(df._rep));