{"issue":{"user":{"id":586225,"login":"bshanks","url":"https://api.github.com/users/bshanks","gravatar_id":"5aa34ef925324d9429a20a1c7e14d6e0","avatar_url":"https://secure.gravatar.com/avatar/5aa34ef925324d9429a20a1c7e14d6e0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":null,"created_at":"2011-12-21T07:58:45Z","title":"optional keyword argument 'itemsize' for HDFStore.put and HDFStore.append to control string length; default 255","updated_at":"2011-12-21T08:56:29Z","labels":[],"state":"open","id":2622595,"pull_request":{"patch_url":"https://github.com/wesm/pandas/pull/515.patch","html_url":"https://github.com/wesm/pandas/pull/515","diff_url":"https://github.com/wesm/pandas/pull/515.diff"},"html_url":"https://github.com/wesm/pandas/issues/515","closed_at":null,"number":515,"body":"added optional keyword argument 'itemsize' to HDFStore.put and HDFStore.append\r\n\r\nit sets the string length of strings in the index and columns for the table (rather than the previous behavior, which was to take the max string length from the longest index/column string in the dataset that is used to create the table). Default is 255.\r\n\r\neven with this commit, strings such as column names which are longer than \"itemsize\" and which are .appended in the future will be silently truncated. I recommend that a warning be raised when this happens, but i didn't add that myself because i couldn't easily find the place where the truncation occurs, or how to extract the current string length.\r\n","url":"https://api.github.com/repos/wesm/pandas/issues/515","comments":3,"assignee":null},"comment":{"user":{"id":586225,"login":"bshanks","url":"https://api.github.com/users/bshanks","gravatar_id":"5aa34ef925324d9429a20a1c7e14d6e0","avatar_url":"https://secure.gravatar.com/avatar/5aa34ef925324d9429a20a1c7e14d6e0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-21T08:56:29Z","updated_at":"2011-12-21T08:56:29Z","id":3231234,"body":"(overwrote c3e311d; so now read \"commit af17801: before this commit, the following would discard column1:\r\nstore.put('eee', DataFrame([0], ['a'], ['column1'])); store.append('eee', DataFrame([1], ['a'], ['column2'])); store['eee']\"\r\n","url":"https://api.github.com/repos/wesm/pandas/issues/comments/3231234"},"action":"created"}