{"action":"created","issue":{"url":"https://api.github.com/repos/cognoma/machine-learning/issues/38","repository_url":"https://api.github.com/repos/cognoma/machine-learning","labels_url":"https://api.github.com/repos/cognoma/machine-learning/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/cognoma/machine-learning/issues/38/comments","events_url":"https://api.github.com/repos/cognoma/machine-learning/issues/38/events","html_url":"https://github.com/cognoma/machine-learning/issues/38","id":173109911,"number":38,"title":"Memory error","user":{"login":"VijYadav","id":20684481,"avatar_url":"https://avatars.githubusercontent.com/u/20684481?v=3","gravatar_id":"","url":"https://api.github.com/users/VijYadav","html_url":"https://github.com/VijYadav","followers_url":"https://api.github.com/users/VijYadav/followers","following_url":"https://api.github.com/users/VijYadav/following{/other_user}","gists_url":"https://api.github.com/users/VijYadav/gists{/gist_id}","starred_url":"https://api.github.com/users/VijYadav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VijYadav/subscriptions","organizations_url":"https://api.github.com/users/VijYadav/orgs","repos_url":"https://api.github.com/users/VijYadav/repos","events_url":"https://api.github.com/users/VijYadav/events{/privacy}","received_events_url":"https://api.github.com/users/VijYadav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-25T04:06:39Z","updated_at":"2016-08-25T04:25:24Z","closed_at":null,"body":"As [per the instruction](https://github.com/cognoma/machine-learning/issues/27#issue-169809444), I made copy of TGCA-MLexample.ipny with CART-VijYadav.ipynb. I didn't make any change to the code ( I just wanted to see if the existing code works) and finding the following memory error. I am running Windows 10 with 32 GB RAM. Can you please let me know how to fix the issue.\r\n```\r\n%%time\r\npath = os.path.join('data', 'expression.tsv.bz2')\r\nX = pd.read_table(path, index_col=0)\r\n---------------------------------------------------------------------------\r\nMemoryError                               Traceback (most recent call last)\r\n<ipython-input-7-6c501a1d1501> in <module>()\r\n----> 1 get_ipython().run_cell_magic('time', '', \"path = os.path.join('data', 'expression.tsv.bz2')\\nX = pd.read_table(path, index_col=0)\")\r\n\r\nC:\\Users\\Vijay\\Anaconda3\\envs\\cognoma-machine-learning\\lib\\site-packages\\IPython\\core\\interactiveshell.py in run_cell_magic(self, magic_name, line, cell)\r\n   2113             magic_arg_s = self.var_expand(line, stack_depth)\r\n   2114             with self.builtin_trap:\r\n-> 2115                 result = fn(magic_arg_s, cell)\r\n   2116             return result\r\n   2117 \r\n\r\n<decorator-gen-60> in time(self, line, cell, local_ns)\r\n\r\nC:\\Users\\Vijay\\Anaconda3\\envs\\cognoma-machine-learning\\lib\\site-packages\\IPython\\core\\magic.py in <lambda>(f, *a, **k)\r\n    186     # but it's overkill for just that one bit of state.\r\n    187     def magic_deco(arg):\r\n--> 188         call = lambda f, *a, **k: f(*a, **k)\r\n    189 \r\n    190         if callable(arg):\r\n\r\nC:\\Users\\Vijay\\Anaconda3\\envs\\cognoma-machine-learning\\lib\\site-packages\\IPython\\core\\magics\\execution.py in time(self, line, cell, local_ns)\r\n   1178         else:\r\n   1179             st = clock2()\r\n-> 1180             exec(code, glob, local_ns)\r\n   1181             end = clock2()\r\n   1182             out = None\r\n\r\n<timed exec> in <module>()\r\n\r\nC:\\Users\\Vijay\\Anaconda3\\envs\\cognoma-machine-learning\\lib\\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, skipfooter, 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, skip_footer, doublequote, delim_whitespace, as_recarray, compact_ints, use_unsigned, low_memory, buffer_lines, memory_map, float_precision)\r\n    560                     skip_blank_lines=skip_blank_lines)\r\n    561 \r\n--> 562         return _read(filepath_or_buffer, kwds)\r\n    563 \r\n    564     parser_f.__name__ = name\r\n\r\nC:\\Users\\Vijay\\Anaconda3\\envs\\cognoma-machine-learning\\lib\\site-packages\\pandas\\io\\parsers.py in _read(filepath_or_buffer, kwds)\r\n    323         return parser\r\n    324 \r\n--> 325     return parser.read()\r\n    326 \r\n    327 _parser_defaults = {\r\n\r\nC:\\Users\\Vijay\\Anaconda3\\envs\\cognoma-machine-learning\\lib\\site-packages\\pandas\\io\\parsers.py in read(self, nrows)\r\n    813                 raise ValueError('skip_footer not supported for iteration')\r\n    814 \r\n--> 815         ret = self._engine.read(nrows)\r\n    816 \r\n    817         if self.options.get('as_recarray'):\r\n\r\nC:\\Users\\Vijay\\Anaconda3\\envs\\cognoma-machine-learning\\lib\\site-packages\\pandas\\io\\parsers.py in read(self, nrows)\r\n   1312     def read(self, nrows=None):\r\n   1313         try:\r\n-> 1314             data = self._reader.read(nrows)\r\n   1315         except StopIteration:\r\n   1316             if self._first_chunk:\r\n\r\npandas\\parser.pyx in pandas.parser.TextReader.read (pandas\\parser.c:8748)()\r\n\r\npandas\\parser.pyx in pandas.parser.TextReader._read_low_memory (pandas\\parser.c:9428)()\r\n\r\npandas\\parser.pyx in pandas.parser._concatenate_chunks (pandas\\parser.c:25134)()\r\n\r\nMemoryError:\r\n```"},"comment":{"url":"https://api.github.com/repos/cognoma/machine-learning/issues/comments/242277954","html_url":"https://github.com/cognoma/machine-learning/issues/38#issuecomment-242277954","issue_url":"https://api.github.com/repos/cognoma/machine-learning/issues/38","id":242277954,"user":{"login":"dhimmel","id":1117703,"avatar_url":"https://avatars.githubusercontent.com/u/1117703?v=3","gravatar_id":"","url":"https://api.github.com/users/dhimmel","html_url":"https://github.com/dhimmel","followers_url":"https://api.github.com/users/dhimmel/followers","following_url":"https://api.github.com/users/dhimmel/following{/other_user}","gists_url":"https://api.github.com/users/dhimmel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhimmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhimmel/subscriptions","organizations_url":"https://api.github.com/users/dhimmel/orgs","repos_url":"https://api.github.com/users/dhimmel/repos","events_url":"https://api.github.com/users/dhimmel/events{/privacy}","received_events_url":"https://api.github.com/users/dhimmel/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T04:25:24Z","updated_at":"2016-08-25T04:25:24Z","body":"Can you provide the output of the following commands:\r\n\r\n```python\r\nimport pandas\r\npandas.show_versions()\r\n```"}}
{"actor":{"display_login":"dhimmel"}}