{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/blaze/issues/994","labels_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/994/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/994/comments","events_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/994/events","html_url":"https://github.com/ContinuumIO/blaze/pull/994","id":61889933,"number":994,"title":"Add string length expression","user":{"login":"cpcloud","id":417981,"avatar_url":"https://avatars.githubusercontent.com/u/417981?v=3","gravatar_id":"","url":"https://api.github.com/users/cpcloud","html_url":"https://github.com/cpcloud","followers_url":"https://api.github.com/users/cpcloud/followers","following_url":"https://api.github.com/users/cpcloud/following{/other_user}","gists_url":"https://api.github.com/users/cpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/cpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpcloud/subscriptions","organizations_url":"https://api.github.com/users/cpcloud/orgs","repos_url":"https://api.github.com/users/cpcloud/repos","events_url":"https://api.github.com/users/cpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/cpcloud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ContinuumIO/blaze/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ContinuumIO/blaze/labels/new%20expression","name":"new expression","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"cpcloud","id":417981,"avatar_url":"https://avatars.githubusercontent.com/u/417981?v=3","gravatar_id":"","url":"https://api.github.com/users/cpcloud","html_url":"https://github.com/cpcloud","followers_url":"https://api.github.com/users/cpcloud/followers","following_url":"https://api.github.com/users/cpcloud/following{/other_user}","gists_url":"https://api.github.com/users/cpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/cpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpcloud/subscriptions","organizations_url":"https://api.github.com/users/cpcloud/orgs","repos_url":"https://api.github.com/users/cpcloud/repos","events_url":"https://api.github.com/users/cpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/cpcloud/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ContinuumIO/blaze/milestones/5","html_url":"https://github.com/ContinuumIO/blaze/milestones/Release%200.8","labels_url":"https://api.github.com/repos/ContinuumIO/blaze/milestones/5/labels","id":674669,"number":5,"title":"Release 0.8","description":"Major release\r\n\r\n* Now using `odo` instead of `into`\r\n* Support both spark 1.2 and 1.3\r\n* Join works on ndarray by casting to a pandas `Series`\r\n* Bug fixes\r\n  * Fix printing of collections without names\r\n  * `set_default_pmap` to allow setting of default `map` function passed to `compute`\r\n* move docs to http://blaze.readthedocs.org/\r\n* solidify binstar build and conda build recipes","creator":{"login":"aterrel","id":30583,"avatar_url":"https://avatars.githubusercontent.com/u/30583?v=3","gravatar_id":"","url":"https://api.github.com/users/aterrel","html_url":"https://github.com/aterrel","followers_url":"https://api.github.com/users/aterrel/followers","following_url":"https://api.github.com/users/aterrel/following{/other_user}","gists_url":"https://api.github.com/users/aterrel/gists{/gist_id}","starred_url":"https://api.github.com/users/aterrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aterrel/subscriptions","organizations_url":"https://api.github.com/users/aterrel/orgs","repos_url":"https://api.github.com/users/aterrel/repos","events_url":"https://api.github.com/users/aterrel/events{/privacy}","received_events_url":"https://api.github.com/users/aterrel/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":31,"state":"open","created_at":"2014-05-29T20:55:03Z","updated_at":"2015-03-15T20:01:20Z","due_on":"2015-03-12T04:00:00Z","closed_at":null},"comments":8,"created_at":"2015-03-15T19:55:55Z","updated_at":"2015-03-15T22:04:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/994","html_url":"https://github.com/ContinuumIO/blaze/pull/994","diff_url":"https://github.com/ContinuumIO/blaze/pull/994.diff","patch_url":"https://github.com/ContinuumIO/blaze/pull/994.patch"},"body":"```python\r\nIn [1]: df = Data(pd.DataFrame({'a': ['Alice', 'Bob', 'Josephine'], 'b': [1, 2, 3]}))\r\n\r\nIn [2]: df\r\nOut[2]:\r\n           a  b\r\n0      Alice  1\r\n1        Bob  2\r\n2  Josephine  3\r\n\r\nIn [3]: df.a.length()\r\nOut[3]:\r\n   a\r\n0  5\r\n1  3\r\n2  9\r\n```"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/blaze/issues/comments/81258528","html_url":"https://github.com/ContinuumIO/blaze/pull/994#issuecomment-81258528","issue_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/994","id":81258528,"user":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T22:04:47Z","updated_at":"2015-03-15T22:04:47Z","body":"you should prob do some kind of accessor\r\n\r\ne.g. ``df.a.str.length()`` (and similarly for datetimelikes, e.g. ``.dt``). \r\n\r\nit just makes the API much more intuitive, and allows you to have names that match with function.\r\ngranted, now you have an extra accessor in the mix, my 2c"}}