Skip to content

[bug] join with unknown keys returns 0, should nan #1872

@goldentom42

Description

@goldentom42

On Ubuntu 16.04 LTS, datatable 0.8.0.dev71

Using the following code

L_dt = dt.Frame(
    {
        "A": [5, 6, 7, 9],
        "B": [7, 8, 9, 10],
    }
)

R_dt = dt.Frame(
    {
        "A": [5, 7],
        "B": [7, 9], 
        "yhat": [1,2]
    }
)
R_dt.key=["A", "B"]

L_dt[:,:,dt.join(R_dt)]

returns :
Screenshot 2019-06-06 at 13 38 22

IMHO column yhat should not be valued for keys in L_dt that are not in X_dt.
And this is pandas standard behaviour.

Metadata

Metadata

Assignees

Labels

bugAny bugs / errors in datatable; however for severe bugs use [segfault] label

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions