mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-01 07:46:22 +02:00
[datasets] updated deng loading pandas bugs...
This commit is contained in:
parent
d954829a40
commit
de801c9d29
1 changed files with 1 additions and 1 deletions
|
|
@ -978,7 +978,7 @@ def singlecell_rna_seq_deng(dataset='singlecell_deng'):
|
|||
sample_info.columns = sample_info.columns.to_series().apply(lambda row: row[len("!Sample_"):])
|
||||
sample_info.columns.name = sample_info.columns.name[len("!Sample_"):]
|
||||
sample_info = sample_info[['geo_accession', 'characteristics_ch1', 'description']]
|
||||
sample_info = sample_info.ix[:, np.r_[0:3, 5:sample_info.shape[1]]]
|
||||
sample_info = sample_info.iloc[:, np.r_[0:4, 5:sample_info.shape[1]]]
|
||||
c = sample_info.columns.to_series()
|
||||
c[1:4] = ['strain', 'cross', 'developmental_stage']
|
||||
sample_info.columns = c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue