{"action":"created","issue":{"url":"https://api.github.com/repos/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/issues/3","repository_url":"https://api.github.com/repos/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas","labels_url":"https://api.github.com/repos/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/issues/3/comments","events_url":"https://api.github.com/repos/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/issues/3/events","html_url":"https://github.com/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/issues/3","id":366703161,"node_id":"MDU6SXNzdWUzNjY3MDMxNjE=","number":3,"title":"Error at header section","user":{"login":"osterburg","id":18425964,"node_id":"MDQ6VXNlcjE4NDI1OTY0","avatar_url":"https://avatars0.githubusercontent.com/u/18425964?v=4","gravatar_id":"","url":"https://api.github.com/users/osterburg","html_url":"https://github.com/osterburg","followers_url":"https://api.github.com/users/osterburg/followers","following_url":"https://api.github.com/users/osterburg/following{/other_user}","gists_url":"https://api.github.com/users/osterburg/gists{/gist_id}","starred_url":"https://api.github.com/users/osterburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osterburg/subscriptions","organizations_url":"https://api.github.com/users/osterburg/orgs","repos_url":"https://api.github.com/users/osterburg/repos","events_url":"https://api.github.com/users/osterburg/events{/privacy}","received_events_url":"https://api.github.com/users/osterburg/received_events","type":"User","site_admin":false},"labels":[{"id":1079100564,"node_id":"MDU6TGFiZWwxMDc5MTAwNTY0","url":"https://api.github.com/repos/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/labels/Test","name":"Test","color":"ffe47e","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-04T09:37:19Z","updated_at":"2018-10-04T09:38:25Z","closed_at":"2018-10-04T09:38:02Z","author_association":"NONE","body":"Executing the following cell\r\n```\r\ndf = pd.read_csv('Data/ACS_16_5YR_B24011_with_ann.csv', header=1)\r\ndf.head()\r\n```\r\ncreates the following error\r\n```\r\nUnicodeDecodeErrorTraceback (most recent call last)\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._convert_tokens()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._convert_with_dtype()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._string_convert()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers._string_box_utf8()\r\n\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 2: invalid continuation byte\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nUnicodeDecodeErrorTraceback (most recent call last)\r\n<ipython-input-13-139234aa94b9> in <module>\r\n----> 1 df = pd.read_csv('Data/ACS_16_5YR_B24011_with_ann.csv', header=1)\r\n      2 df.head()\r\n\r\n/opt/conda/lib/python3.6/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, tupleize_cols, error_bad_lines, warn_bad_lines, skipfooter, doublequote, delim_whitespace, low_memory, memory_map, float_precision)\r\n    676                     skip_blank_lines=skip_blank_lines)\r\n    677 \r\n--> 678         return _read(filepath_or_buffer, kwds)\r\n    679 \r\n    680     parser_f.__name__ = name\r\n\r\n/opt/conda/lib/python3.6/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)\r\n    444 \r\n    445     try:\r\n--> 446         data = parser.read(nrows)\r\n    447     finally:\r\n    448         parser.close()\r\n\r\n/opt/conda/lib/python3.6/site-packages/pandas/io/parsers.py in read(self, nrows)\r\n   1034                 raise ValueError('skipfooter not supported for iteration')\r\n   1035 \r\n-> 1036         ret = self._engine.read(nrows)\r\n   1037 \r\n   1038         # May alter columns / col_dict\r\n\r\n/opt/conda/lib/python3.6/site-packages/pandas/io/parsers.py in read(self, nrows)\r\n   1846     def read(self, nrows=None):\r\n   1847         try:\r\n-> 1848             data = self._reader.read(nrows)\r\n   1849         except StopIteration:\r\n   1850             if self._first_chunk:\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.read()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._read_low_memory()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._read_rows()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._convert_column_data()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._convert_tokens()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._convert_with_dtype()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._string_convert()\r\n\r\npandas/_libs/parsers.pyx in pandas._libs.parsers._string_box_utf8()\r\n\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 2: invalid continuation byte\r\n```"},"comment":{"url":"https://api.github.com/repos/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/issues/comments/426952237","html_url":"https://github.com/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/issues/3#issuecomment-426952237","issue_url":"https://api.github.com/repos/learn-co-curriculum/dsc-1-03-04-importing-data-using-pandas/issues/3","id":426952237,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjk1MjIzNw==","user":{"login":"osterburg","id":18425964,"node_id":"MDQ6VXNlcjE4NDI1OTY0","avatar_url":"https://avatars0.githubusercontent.com/u/18425964?v=4","gravatar_id":"","url":"https://api.github.com/users/osterburg","html_url":"https://github.com/osterburg","followers_url":"https://api.github.com/users/osterburg/followers","following_url":"https://api.github.com/users/osterburg/following{/other_user}","gists_url":"https://api.github.com/users/osterburg/gists{/gist_id}","starred_url":"https://api.github.com/users/osterburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osterburg/subscriptions","organizations_url":"https://api.github.com/users/osterburg/orgs","repos_url":"https://api.github.com/users/osterburg/repos","events_url":"https://api.github.com/users/osterburg/events{/privacy}","received_events_url":"https://api.github.com/users/osterburg/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T09:38:25Z","updated_at":"2018-10-04T09:38:25Z","author_association":"NONE","body":"Need more coffee"}}
{"actor":{"display_login":"osterburg"}}