Open ivirshup opened 5 years ago
If you've decided to pass use_attr_names=True, you'd still have to pass the display names to set column dtypes. I think this is unintuitive. For example, here I'd expect column "entrezgene" to be str:
use_attr_names=True
str
>>> dataset.query( attributes=["entrezgene"], use_attr_names=True, dtypes={"entrezgene": str} ).dtypes entrezgene int64 dtype: object
If you've decided to pass
use_attr_names=True
, you'd still have to pass the display names to set column dtypes. I think this is unintuitive. For example, here I'd expect column "entrezgene" to bestr
: