{"action":"closed","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/4011","labels_url":"https://api.github.com/repos/astropy/astropy/issues/4011/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/4011/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/4011/events","html_url":"https://github.com/astropy/astropy/issues/4011","id":97674265,"number":4011,"title":"Add warning when data is lost when assigning to Table column","user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/table","name":"table","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"taldcroft","id":348089,"avatar_url":"https://avatars.githubusercontent.com/u/348089?v=3","gravatar_id":"","url":"https://api.github.com/users/taldcroft","html_url":"https://github.com/taldcroft","followers_url":"https://api.github.com/users/taldcroft/followers","following_url":"https://api.github.com/users/taldcroft/following{/other_user}","gists_url":"https://api.github.com/users/taldcroft/gists{/gist_id}","starred_url":"https://api.github.com/users/taldcroft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taldcroft/subscriptions","organizations_url":"https://api.github.com/users/taldcroft/orgs","repos_url":"https://api.github.com/users/taldcroft/repos","events_url":"https://api.github.com/users/taldcroft/events{/privacy}","received_events_url":"https://api.github.com/users/taldcroft/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-07-28T10:47:21Z","updated_at":"2015-08-07T02:27:44Z","closed_at":"2015-08-07T02:27:44Z","body":"In the following example, it would be nice to have a warning that warns of data loss:\r\n\r\n```python\r\nIn [7]: t = Table()\r\n\r\nIn [8]: t['a'] = ['i','j','k']\r\n\r\nIn [9]: t['a'] = ['ii','jj','kk']\r\n\r\nIn [10]: t\r\nOut[10]: \r\n<Table masked=False length=3>\r\n  a  \r\nstr32\r\n-----\r\n    i\r\n    j\r\n    k\r\n```\r\n\r\nThe workaround is to remove and add the column again, so this could be mentioned in the warning?\r\n"}}