-
Notifications
You must be signed in to change notification settings - Fork 21
[RFC/WIP] Few additional methods #155
base: master
Are you sure you want to change the base?
Conversation
This conflicts with the new definition of
Can't we use the
Why would you want this sort order? I'd rather use lifting semantics after wrapping |
Would
I must admit my understanding of what
Actually, this one I don't really need, so I will remove it from the PR. Anyway, if it has to be defined, it should go to |
Codecov Report
@@ Coverage Diff @@
## master #155 +/- ##
==========================================
- Coverage 65.43% 57.88% -7.55%
==========================================
Files 14 13 -1
Lines 732 862 +130
==========================================
+ Hits 479 499 +20
- Misses 253 363 +110
Continue to review full report at Codecov.
|
It would, by overloading
You just need to add |
Agreed. I think I'd prefer a copy. This might be ameliorated by switching over to a EDIT: Or we could just require that anybody who wants to modify the internals of a |
Is there any possibility to return a readonly view of the |
I don't think so. That seems like a weird special case. What's wrong with |
@davidagold I thought the reason to return a copy of |
Anyway as David said we need to change |
bump re:
|
I still think moving to |
* mapreduce() returns Nullable{T}(mr_empty) instead of just mr_empty * added tests for [map]reduce() over non-empty collection that contain no non-null
should have the same effect as @propagate_inbounds within @inbounds blocks
since _mapreduce_skipnull() counts the number of nulls anyway, it doesn't need the `missingdata` parameter
Some methods that I introduced, while rebasing JuliaData/DataFrames.jl#850
isnull(A::NullableArray)
to get the boolean array ofA
nullsunsafe_isnull(A::NullableArray, i::Int...)
to check for nulls without checking the validity of the indexAbstractNullableArray{T, N}
typealias ofAbstractArray{Nullable{T}, N}
(howeverAbstractNullableArray
(without params) is not considered by Julia more specific thanAbstractArray
, I don't know if it's a known feature/bug)isless{T,S}(a::Nullable{T}, b::S)
to compare nullables vs nonnullables (nonnullable is always less)