Message329490
xref: https://github.com/pandas-dev/pandas/issues/23516
Example:
import io
import pandas as pd
import numpy as np
df = pd.DataFrame(np.random.randn(1000000, 10), columns=('COL{}'.format(i) for i in range(10)))
csv = io.StringIO(df.to_csv(index=False))
df2 = pd.read_csv(csv) #3.5X slower on Python 3.7.1
pd.read_csv() reads data at 30MB/sec on Python 3.7.1 while at 100MB/sec on Python 3.6.7.
This issue seems to be only present on Windows 10 Builds both x86 & x64.
Possibly some IO changes in Python 3.7 could have contributed to this slowdown on Windows but not on Linux? |
|
Date |
User |
Action |
Args |
2018-11-08 22:56:21 | Dragoljub | set | recipients:
+ Dragoljub |
2018-11-08 22:56:21 | Dragoljub | set | messageid: <1541717781.13.0.788709270274.issue35195@psf.upfronthosting.co.za> |
2018-11-08 22:56:21 | Dragoljub | link | issue35195 messages |
2018-11-08 22:56:21 | Dragoljub | create | |
|