标签:sch 原因 sina 需要 dir 使用 title pretty ati
[ssw@mu01 build]$ strings /lib64/libc.so.6 |grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_PRIVATE
[ssw@mu01 ~]$ wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
[ssw@mu01 ~]$ tar xvf glibc-2.14.tar.gz
[ssw@mu01 ~]$ cd glibc-2.14
[ssw@mu01 glibc-2.14]$ mkdir build
[ssw@mu01 glibc-2.14]$ cd ./build
[ssw@mu01 build]$ ../configure --prefix=/home/ssw/bin/glibc-2.14
[ssw@mu01 build]$ make -j4
[ssw@mu01 build]$ make install
[ssw@mu01 build]$ ../configure --prefix=/home/ssw/bin/glibc-2.14
# -*- coding: utf-8 -*-
"""
Created on Wed Nov 16 12:46:27 2016
@author: sun
"""
import pandas as pd
yeast_gold_protein_pair=pd.read_csv(‘yeast_gold_protein_pair.csv‘,usecols=[‘idA‘,‘idB‘])
disorder=pd.read_csv(‘disorder.csv‘,index_col=0)
#注loc通过标签选择数据,iloc通过位置选择数据
idA=disorder.loc[‘sp‘ + yeast_gold_protein_pair.idA,:]
idB=disorder.loc[‘sp‘ + yeast_gold_protein_pair.idB,:]
idA.index=range(len(idA))
idB.index=range(len(idB))
data=pd.concat([yeast_gold_protein_pair,idA,idB],axis=1)
data.to_csv(‘gold_protein_disorder.csv‘,index=False)
标签:sch 原因 sina 需要 dir 使用 title pretty ati
原文地址:http://www.cnblogs.com/ahusun/p/6069054.html