Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

SFrame filter_by should work with map data type #1140

Closed
TobyRoseman opened this issue Oct 15, 2018 · 0 comments · Fixed by #1723
Closed

SFrame filter_by should work with map data type #1140

TobyRoseman opened this issue Oct 15, 2018 · 0 comments · Fixed by #1723
Assignees
Labels
bug engine good first issue python3 Issues related specifically to Python 3 SFrame
Milestone

Comments

@TobyRoseman
Copy link
Collaborator

This is only an issue in Python 3.

import turicreate as tc
toy_data = tc.SFrame({'a': range(100)})
any_map_result = map(lambda x: x+1, [1, 30])

# this should work but instead we get a type error
toy_data.filter_by(any_map_result, 'a')
@TobyRoseman TobyRoseman added bug python3 Issues related specifically to Python 3 SFrame labels Oct 15, 2018
@znation znation added the engine label Oct 17, 2018
@TobyRoseman TobyRoseman added this to the 5.5 milestone Mar 16, 2019
@TobyRoseman TobyRoseman self-assigned this Mar 19, 2019
@syoutsey syoutsey added this to Reviewer approved in 5.5 - Convergence Mar 28, 2019
@syoutsey syoutsey moved this from Reviewer approved to To do in 5.5 - Convergence Mar 28, 2019
@TobyRoseman TobyRoseman moved this from To do to In progress in 5.5 - Convergence Apr 11, 2019
@TobyRoseman TobyRoseman moved this from In progress to Review in progress in 5.5 - Convergence Apr 11, 2019
5.5 - Convergence automation moved this from Review in progress to Done Apr 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug engine good first issue python3 Issues related specifically to Python 3 SFrame
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants