已经删除
appleyuchi 发布于2019-09 浏览:1083 回复:5
0
收藏
快速回复
最后编辑于2021-05

已经删除

收藏
点赞
0
个赞
共5条回复 最后由何必固執编辑于2019-10
#9用户已被禁言回复于2019-09

解决了就好

0
#8Wwsd3d回复于2019-09
#5 wangwei8638回复
作为第三方我说一句,您是来咨询问题,不是来兴师问罪

能够理解这位用户遇到这种问题的心情啦,问题已经解决了,是由于自身的测试不当造成的,事实证明呢,AI Studio的IO速度还是相当ok的

0
#5wangwei8638回复于2019-09

作为第三方我说一句,您是来咨询问题,不是来兴师问罪

0
#4aistudio_8回复于2019-09
#2 appleyuchi回复
刚又测了一遍,kaggle上面的速度是; (590540, 433) (506691, 432) CPU times: user 45.2 s, sys: 13 s, total: 58.2 s Wall time: 55.8 s 用的代码是: %%time import pandas as pd train_transaction = pd.read_csv('../input/ieee-fraud-detection/train_transaction.csv', index_col='TransactionID') test_transaction = pd.read_csv('../input/ieee-fraud-detection/test_transaction.csv', index_col='TransactionID') train_identity = pd.read_csv('../input/ieee-fraud-detection/train_identity.csv', index_col='TransactionID') test_identity = pd.read_csv('../input/ieee-fraud-detection/test_identity.csv', index_col='TransactionID') sample_submission = pd.read_csv('../input/ieee-fraud-detection/sample_submission.csv', index_col='TransactionID') train = train_transaction.merge(train_identity, how='left', left_index=True, right_index=True) test = test_transaction.merge(test_identity, how='left', left_index=True, right_index=True) print(train.shape) print(test.shape) 之所以有细微的差别是因为: 如果不使用egine=‘python’,csv文件就会无法读取。
展开

您好,请问您在aistudio上的项目id是多少

0
#2appleyuchi回复于2019-09

刚又测了一遍,kaggle上面的速度是;

(590540, 433)
(506691, 432)
CPU times: user 45.2 s, sys: 13 s, total: 58.2 s
Wall time: 55.8 s

用的代码是:

%%time
import pandas as pd
train_transaction = pd.read_csv('../input/ieee-fraud-detection/train_transaction.csv', index_col='TransactionID')
test_transaction = pd.read_csv('../input/ieee-fraud-detection/test_transaction.csv', index_col='TransactionID')

train_identity = pd.read_csv('../input/ieee-fraud-detection/train_identity.csv', index_col='TransactionID')
test_identity = pd.read_csv('../input/ieee-fraud-detection/test_identity.csv', index_col='TransactionID')

sample_submission = pd.read_csv('../input/ieee-fraud-detection/sample_submission.csv', index_col='TransactionID')

train = train_transaction.merge(train_identity, how='left', left_index=True, right_index=True)
test = test_transaction.merge(test_identity, how='left', left_index=True, right_index=True)

print(train.shape)
print(test.shape)

之所以有细微的差别是因为:

如果不使用egine=‘python’,csv文件就会无法读取。

0
TOP
切换版块