what to do i'm getting this error oduleNotFoundError Traceback (most recent call last)…
- User
what to do i'm getting this error oduleNotFoundError Traceback (most recent call last) File ~\gain\Lib\site-packages\pandas\io\pickle.py:202, in read_pickle(filepath_or_buffer, compression, storage_options) 201 warnings.simplefilter("ignore", Warning) --> 202 return pickle.load(handles.handle) 203 except excs_to_catch: 204 # e.g. 205 # "No module named 'pandas.core.sparse.series'" 206 # "Can't get attribute '__nat_unpickle' on <module 'pandas._libs.tslib"
ModuleNotFoundError: No module named 'pandas.core.indexes.numeric'
During handling of the above exception, another exception occurred:
MemoryError Traceback (most recent call last) Cell In[4], line 1 ----> 1 stdInFileBrok=pd.read_pickle(r"C:\Users\mhemika\OneDrive - MetLife\Desktop\5500\5500_1\brokers\brokers.all.yrs.Standardized.pkl")
File ~\gain\Lib\site-packages\pandas\io\pickle.py:207, in read_pickle(filepath_or_buffer, compression, storage_options) 202 return pickle.load(handles.handle) 203 except excs_to_catch: 204 # e.g. 205 # "No module named 'pandas.core.sparse.series'" 206 # "Can't get attribute '__nat_unpickle' on <module 'pandas._libs.tslib" --> 207 return pc.load(handles.handle, encoding=None) 208 except UnicodeDecodeError: 209 # e.g. can occur for files written in py27; see GH#28645 and GH#31988 210 return pc.load(handles.handle, encoding="latin-1")
File ~\gain\Lib\site-packages\pandas\compat\pickle_compat.py:231, in load(fh, encoding, is_verbose) 228 # "Unpickler" has no attribute "is_verbose" [attr-defined] 229 up.is_verbose = is_verbose # type: ignore[attr-defined] --> 231 return up.load() 232 except (ValueError, TypeError): 233 raise
File ~\AppData\Local\anaconda3\Lib\pickle.py:1213, in _Unpickler.load(self) 1211 raise EOFError 1212 assert isinstance(key, bytes_types) -> 1213 dispatchkey[0] 1214 except _Stop as stopinst: 1215 return stopinst.value
File ~\AppData\Local\anaconda3\Lib\pickle.py:1658, in _Unpickler.load_memoize(self) 1656 def load_memoize(self): 1657 memo = self.memo -> 1658 memo[len(memo)] = self.stack[-1]
MemoryError:
- Assistant
- User
what to do for this error No module named 'pandas.core.indexes.numeric'
- Assistant
- User
what to do for this error No module named 'pandas.core.indexes.numeric'
- Assistant
- User
data = pd.read_pickle(r"C:\Users\mhemika\OneDrive - MetLife\Desktop\5500\5500_1\brokers\brokers.all.yrs.Standardized.pkl")
it is giving me module not found error what do i do
- Assistant