Comments (5)
we should handle this ourselves somewhere
Not sure if I understand right - do you mean we should auto-convert some category-like dtypes (ints/strings with <= e.g. 100 values) to categorical?
Or that we should make it more general and use groupby
? Am for for both.
from moscot.
Atm we get an error if the "key" column of our anndata object is not of dtype categorical. E.g. for WOT data you need to do adata.obs.day = adata.obs.day.astype('category')
. I think this should be changed, we should allow e.g. strings or numerical dtypes.
Let's discuss on Thursday
from moscot.
Can this be closed?
from moscot.
I'll have it as part of my next PR, let's keep it open until then.
from moscot.
I guess this relates to #70
from moscot.
Related Issues (20)
- Order datasets in docs HOT 2
- Unify the way `push/pull` results are saved.
- Jit the `apply` function
- Contributing guide
- adapt landing page of moscot-tools.org
- Pull/push in a batch-wise fashion HOT 3
- Spatial_warp not found when running Alignment problem tutorial HOT 6
- prepare method does not warn about unknown parameters HOT 3
- update check for categorical dtype HOT 1
- batch_size not working for temporal_problem.cell_transition HOT 1
- Add `.copy` method
- wrong literals for `set_x`
- Adapt new low-rank GW solvers from OTT HOT 1
- `cell_transition` changed
- Missing `rich` requirement in `pyproject.toml` HOT 2
- symbol column key argument when using gene sets HOT 1
- adapt `moscot.plotting.pull/push` header HOT 1
- Improve code quality in tests `test_pass_arguments`
- Contributing guide in `moscot_notebooks`
- literal types for costs are wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moscot.