对于用惯了R的人,冷不丁用下python,感觉还是不太习惯,但是python的功能做分析的速度也很有独特的优势,所以本次做了个简单的scanpy笔记,以后再慢慢学习~~
1 加载需要的包,感觉python的包比较好装,缺啥补啥吧
import numpy as np
import pandas as pd
import scanpy as sc
import matplotlib.pyplot a
Python错误提示:TypeError: ufunc 'bitwise_or' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
错误代码:
df['new_col']