Commit 8cf224d5cc18029123d9ed4e429cf05f48a987c4

  • Tree SHA1: 8f06f67
  • Parent SHA1: feca181 (Add the convenience function "subset" to perform similar tasks as in R, when you create new objects that contain subsets of the columns in the original data frame. This new function is roughly equivalent to new_frame = old_frame[,c(col1, col2...)].)
  • raw diff | raw patch
License change - GPL 2+
README
(2 / 1)
  
1111------------------------------------------------------------------------------
1212
1313This program is distributed under the terms of the GNU General Public License
14(GPL), version 2. This means that you can freely modify, copy and distribute
14(GPL), version 2, or (at your option), any later version.
15This means that you can freely modify, copy and distribute
1516the program, under the terms of said license. The COPYING file gives a good
1617overview of what you can and can't do.
1718
  
44# (C) 2008 Luca Beltrame (einar at heavensinferno dot net)
55# (C) 2008 Giovanni Marco Dall'Olio (dalloliogm at gmail dot com)
66# This program is distributed under the terms of the GNU General Public
7# License (GPL), version 2. See the file COPYING for details.
7# License (GPL), version 2, or (at your option) any later version.
8# See the file COPYING for details.
89# ---------------------------------------------------------------------------
910
1011"Module providing a Pythonic implementation of a data.frame."
638638 """Creates a new matrix with only a subset of the columns present, as
639639 specified by the columns_list parameter."""
640640
641 destination = EmptyMatrix(rownames=matrix.rownames,
641 destination = EmptyMatrix(row_names=matrix.rownames,
642642 identifier=matrix.identifier)
643643 for column in column_list:
644644 if column in matrix:
  
22License
33*******
44
5This program is distributed under the terms of the GNU General Public License (GPL), version 2. This means that you can freely modify, copy and distribute
6the program, under the terms of said license. The COPYING file gives a good overview of what you can and can't do.
5This program is distributed under the terms of the GNU General Public License (GPL), version 2, or (at your option), any later version. This means that you can freely modify, copy and distribute the program, under the terms of said license. The COPYING file gives a good overview of what you can and can't do.
76
87Although we hope that this program will be useful, it is without ANY WARRANTY, without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.