Problem description
I will use pandas to process data, which is known to all children’s shoes related to data processing. Read in from CSV file with a pd.read_csv
, and then play as you like. Recently, when I was doing data preprocessing, I encountered a headache. Every time the program was executed to pd. Read_csv
is always reported to memory error
. Finally all kinds of search stackoverflow, finally find the crux:
Replace Python with X64
Yes, it’s as simple as that!
Attached to the
As anyone who has ever used Pandas knows, it is impossible to install Pandas in WIN without any trouble. With all kinds of dependence and the disgusting network in China, it may not be so easy to change Python into X64. Please don’t be impatient, and here comes the magic device:
Please use Anaconda, select an X64, download and install it directly, graphically, install the python X64 version with a full set of data analysis package, of course, there is a Python X64 version with ipython and other tools, not malicious, and even strongly recommend the first time you install Python directly to use this.
The end
Read More:
- Pandas multi column pandas.core.indexing . indexingerror: too many indexers error
- The difference, cause and solution of memory overflow and memory leak
- os::commit_memory(0x0000000538000000, 11408506880, 0) failed; error=‘Cannot allocate memory‘
- Kvm internal error: process exited :cannot set up guest memory ‘pc.ram‘:Cannot allocate memory
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory
- WebHost failed to process a request.Memory gates checking failed because the free memory (140656640 …
- pandas parse_ Data exception, automatically skip
- Installation library on pychar (taking pandas for example)
- Pandas generates new columns through LOC
- Reintex index of pandas
- Three methods of converting dict into dataframe by pandas
- Problem solving: Pandas: keyerror: [ ] not in index
- Pandas sort according to a column_ values)
- Summary of three methods for pandas to convert dict into dataframe
- Pandas get column name
- Converting string object into datetime type in pandas
- In pandas, dataframe and np.array The mutual transformation between the two
- Pandas read_ Error in json() valueerror: training data
- Methods of modifying index and columns names by dataframe in pandas