240 发简信
IP属地:上海
  • DataFrame: 将一列变为 List

    dataframe_name['column_name'].to_list()

  • List: 求两个 List 的交集

    list_3 = list(set(list_1) & set(list_2))

  • Resize,w 360,h 240
    Box plot

    https://seaborn.pydata.org/generated/seaborn.boxplot.html[https://seabor...

  • Scanpy: 对 cluster 进行重新命名

    scanpy_object.obs['new_column_name'] = scanpy_object_used.obs['raw_colum...

  • Resize,w 360,h 240
    Seaborn: Scatter plot

    https://seaborn.pydata.org/generated/seaborn.scatterplot.html#seaborn.sc...

  • DataFrame: 访问数据

    访问元素使用 .iloc 通过位置索引来访问其中的元素df.iloc[row_index, column_index] kk = pd.Data...

  • DataFrame: 分割 + 合并

    分割数据框df[df['column_name']==""]kk = pd.DataFrame({'aa': ['A', 'B', 'A', '...

  • Resize,w 360,h 240
    CellBender: 去除 RNA 污染

    1. PaperUnsupervised removal of systematic background noise from droplet...

  • DataFrame: 取一列

    依靠列名对 DataFrame 中的某一列进行提取kk = np.arange(1, 13).reshape(3,4)kk=pd.DataFra...

个人介绍
Promote, enhance, inspire and illuminate scientific research.