HDFStore.put()

pandas.HDFStore.put

HDFStore.put(key, value, format=None, append=False, **kwargs) [source]

Store object in HDFStore

Parameters:

key : object

value : {Series, DataFrame, Panel}

format : ‘fixed(f)|table(t)’, default is ‘fixed’

fixed(f)
: Fixed format

Fast writing/reading. Not-appendable, nor searchable

table(t)
: Table format

Write as a PyTables Table structure which may perform worse but allow more flexible operations like searching / selecting subsets of the data

append : boolean, default False

This will force Table format, append the input data to the existing.

data_columns : list of columns to create as data columns, or True to

use all columns. See here # noqa

encoding : default None, provide an encoding for strings

dropna : boolean, default False, do not write an ALL nan row to

the store settable by the option ‘io.hdf.dropna_table’

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.19.2/generated/pandas.HDFStore.put.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部