Comments (3)
Most of the time I want to inherit the name. After getindex
, view
etc the data is still the same thing. Like "surface_temp".
Even after mean/median whatever the content is still from the same source and the name still has a similar meaning.
But after zero
, one
or similar
there is nothing but the type and the dimensions.
If we make name a parameter of the standard rebuild
we can reset the name in similar
, or we can do it automatically in the kwargs version of rebuild
as that just leverages ConstructionBase anyway.
from dimensionaldata.jl.
The field is name
, label
is a composite for display... But I've been thinking about this too. It is odd when you use zero()
or something on a GeoArray and it keeps the name, and you have to do rebuild(a; name="x")
or GeoArray(A; name="x")
or @set a.name = "x"
with Setfield.jl.
Maybe we could and pass an empty name to a rebuild
in similar()
.
from dimensionaldata.jl.
Maybe we could and pass an empty name to a
rebuild
insimilar()
.
Sorry, I didn't understand this. Can you explain it a bit more? In general you also think that inheriting name does not make sense for most methods, right?
from dimensionaldata.jl.
Related Issues (20)
- StackOverflow when constructing table from DimArray with single dimension HOT 2
- stable docs link is broken HOT 3
- support Julia 1.9
- error showing DimArray HOT 6
- DimensionMismatch with `cat` HOT 10
- Improvements to docstrings HOT 12
- Cannot get my own `Categorical` order to work HOT 2
- docs/stable toggle in readme returns 404 HOT 2
- broadcast_dims.(*, ..., ...) no method matching order(::Vector{Vector{Int64}}) HOT 3
- Typo in function name HOT 3
- Accessing the dimension combinations HOT 9
- add title to DimArray HOT 3
- Where and isnan issues HOT 1
- `using DimensionalData.Lookups` in docs does not work HOT 4
- can't `cat` two empty vectors HOT 1
- Dimension labels do not plot in Makie on 0.27.0
- Use DataAPI.jl metadata function HOT 1
- Optimise selectors like `Near` and `Contains` on `Regular` lookups
- Copy of Dictionary of DimArrays creates views HOT 2
- Plot of one dimensional DimArray ignores the lookup values of the dimensions HOT 2
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 dimensionaldata.jl.