{"action":"created","issue":{"url":"https://api.github.com/repos/pmorissette/bt/issues/48","labels_url":"https://api.github.com/repos/pmorissette/bt/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/pmorissette/bt/issues/48/comments","events_url":"https://api.github.com/repos/pmorissette/bt/issues/48/events","html_url":"https://github.com/pmorissette/bt/issues/48","id":102744853,"number":48,"title":"The example `SMA Crossover Strategy` failed","user":{"login":"bigtan","id":5222251,"avatar_url":"https://avatars.githubusercontent.com/u/5222251?v=3","gravatar_id":"","url":"https://api.github.com/users/bigtan","html_url":"https://github.com/bigtan","followers_url":"https://api.github.com/users/bigtan/followers","following_url":"https://api.github.com/users/bigtan/following{/other_user}","gists_url":"https://api.github.com/users/bigtan/gists{/gist_id}","starred_url":"https://api.github.com/users/bigtan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigtan/subscriptions","organizations_url":"https://api.github.com/users/bigtan/orgs","repos_url":"https://api.github.com/users/bigtan/repos","events_url":"https://api.github.com/users/bigtan/events{/privacy}","received_events_url":"https://api.github.com/users/bigtan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-08-24T09:09:25Z","updated_at":"2015-11-02T15:22:12Z","closed_at":"2015-10-27T02:09:20Z","body":"The example `SMA Crossover Strategy` in the document failed, and the error log is below:\r\n\r\n```\r\nAttributeError: 'Series' object has no attribute 'items'\r\n```\r\n\r\nI Think this is because the `WeighTarget` does not assign an `dict` to `target.temp['weights']`, so I just repacle `target.temp['weights'] = w.dropna()` with `{w.index[i]:w.values[i] for i in range(len(w.index))}` maybe there will be a better way.\r\n"},"comment":{"url":"https://api.github.com/repos/pmorissette/bt/issues/comments/153051163","html_url":"https://github.com/pmorissette/bt/issues/48#issuecomment-153051163","issue_url":"https://api.github.com/repos/pmorissette/bt/issues/48","id":153051163,"user":{"login":"pmorissette","id":409035,"avatar_url":"https://avatars.githubusercontent.com/u/409035?v=3","gravatar_id":"","url":"https://api.github.com/users/pmorissette","html_url":"https://github.com/pmorissette","followers_url":"https://api.github.com/users/pmorissette/followers","following_url":"https://api.github.com/users/pmorissette/following{/other_user}","gists_url":"https://api.github.com/users/pmorissette/gists{/gist_id}","starred_url":"https://api.github.com/users/pmorissette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmorissette/subscriptions","organizations_url":"https://api.github.com/users/pmorissette/orgs","repos_url":"https://api.github.com/users/pmorissette/repos","events_url":"https://api.github.com/users/pmorissette/events{/privacy}","received_events_url":"https://api.github.com/users/pmorissette/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T15:22:12Z","updated_at":"2015-11-02T15:22:12Z","body":"Hey @jeffereylj  - no worries! Glad it works.\r\n\r\nCheers,\r\nPhil"}}