Comments (2)
The problem is that the eltype
of similar(a::DataValueArray, Any)
is not Any
but DataValue{Any}
, so the logic in e.g. map
copies the array on every iteration thinking the type is not wide enough yet.
from datavalues.jl.
Yeah, that is just a bug. #33 changes this so that similar
only returns a DataValueArray
when you pass DataValue
as the desired element type. That seems more sensible. I just hope I'm not introducing some method ambiguity with this new definition... They always make me nervous. If you spot some problem there, please let me know!
from datavalues.jl.
Related Issues (20)
- Maybe add whitelisted transpose and ctranspose methods
- Check ==, any and all implementations from Nulls.jl
- Make sure our dropna is fast
- Add `get(f, Nullable)`
- Check whether one and oneunit should be added
- method ambiguity with similar
- Make sure we have good coverage of string functions
- Fix broadcasting for 0.7
- Address remaining TODO 0.7
- Remove dependency on Nullables.jl
- not a nice output from sum HOT 2
- Cannot `convert` an object of type DataValues.DataValue{Any} to an object of type DateTime HOT 2
- promotion causes segfault/stack overflow
- Add lifted version of occursin
- remove convert method for `Any`? HOT 4
- Add support for similar / undef initializer HOT 3
- Using Any as a lower bound
- Two failing tests HOT 1
- Reduce invalidations 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 datavalues.jl.