-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Open
Labels
ConstructorsSeries/DataFrame/Index/pd.array ConstructorsSeries/DataFrame/Index/pd.array ConstructorsEnhancement
Description
Code Sample, a copy-pastable example if possible
Currently the from_records does not take a chunksize.
import pandas as pd
df = pd.DataFrame.from_records(data, index=None, exclude=None,
columns=None,
coerce_float=False,
nrows=None)
Enhancement
I would like to see the chunksize options like in read_csv()
import pandas as pd
dfs = pd.DataFrame.from_records(data, index=None, exclude=None,
columns=None,
coerce_float=False,
nrows=None, chunksize=10000)
res = []
for df in dfs:
df['col'] = 'blah'
res.append(df)
df = pd.concat(res)
output of pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 2.7.10.final.0
python-bits: 32
OS: Windows
OS-release: 8
machine: AMD64
processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.16.1
nose: 1.3.7
Cython: None
numpy: 1.9.2
scipy: 0.15.1
statsmodels: None
IPython: 4.2.0
sphinx: None
patsy: None
dateutil: 2.5.3
pytz: 2016.4
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.3
openpyxl: None
xlrd: 0.9.3
xlwt: 1.0.0
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: 0.9.2
apiclient: 1.5.1
sqlalchemy: None
pymysql: None
psycopg2: 2.6.2 (dt dec pq3 ext)
Metadata
Metadata
Assignees
Labels
ConstructorsSeries/DataFrame/Index/pd.array ConstructorsSeries/DataFrame/Index/pd.array ConstructorsEnhancement