由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - Memory Error in pandas.concat with Python
相关主题
怎样用R定位变量的位置大牛指点下面的R Code 怎么用Loop来实现
如何用R处理大文件如何处理下面这种情况
问个r问题R data.frame
问题:多个Excel的一个column 怎么能合并到一个里面?one quick question in SAS, thank you!!
怎样在excel的数字前加零请教...
一个令人不解的R问题借人气问一个Excel sampling 问题 (转载)
Urgent R Questionsas question
R function to tabulate a matrix问一个SAS format的问题,看似简单
相关话题的讨论汇总
话题: python话题: memory话题: error话题: dataframes
进入Statistics版参与讨论
1 (共1页)
y********0
发帖数: 638
1
【 以下文字转载自 DataSciences 讨论区 】
发信人: youyou2010 (悠悠), 信区: DataSciences
标 题: Memory Error in pd.concat with Python
发信站: BBS 未名空间站 (Mon Aug 24 15:22:34 2015, 美东)
I am more recently working with 80 dataframes in python each of which holds
650K rows with the same 11 columns varying from string to number. My initial
goal is to concatenate all dataframes and make a general analysis but I keep
hitting the dead ends in doing so.
1. I started from pd.concat([df1,df2]) but ended up with memory error and
failed to figure out a solution after searching over internet.
2.I then, checking on some online suggestions, converted the number into
float32 for the reduction of memory burden and this time only found it not
helpful either.
3. If you are asking for a little background of my PC and python,I am using
a 32-bit Python with 2.7.5, pandas 0.13.0 and little chance to switch to 64
version.
Any comments, suggestions will be really appreciated.
1 (共1页)
进入Statistics版参与讨论
相关主题
问一个SAS format的问题,看似简单怎样在excel的数字前加零
Sas问题, 有包子一个令人不解的R问题
pandas这个东西有点意思Urgent R Question
[R] a row of a matrix is not a matrix?R function to tabulate a matrix
怎样用R定位变量的位置大牛指点下面的R Code 怎么用Loop来实现
如何用R处理大文件如何处理下面这种情况
问个r问题R data.frame
问题:多个Excel的一个column 怎么能合并到一个里面?one quick question in SAS, thank you!!
相关话题的讨论汇总
话题: python话题: memory话题: error话题: dataframes