Append to Table in file. Node must already exist and be Table format. Parameters ---------- key : str Key of object to append. value : {Series, DataFrame} Value of object to append. format : 'table' is the default
(
self,
key: str,
value: DataFrame | Series,
format=None,
axes=None,
index: bool | list[str] = True,
append: bool = True,
complib=None,
complevel: int | None = None,
columns=None,
min_itemsize: int | dict[str, int] | None = None,
nan_rep=None,
chunksize: int | None = None,
expectedrows=None,
dropna: bool | None = None,
data_columns: Literal[True] | list[str] | None = None,
encoding=None,
errors: str = "strict",
)
| 1288 | return s.delete(where=where, start=start, stop=stop) |
| 1289 | |
| 1290 | def append( |
| 1291 | self, |
| 1292 | key: str, |
| 1293 | value: DataFrame | Series, |
| 1294 | format=None, |
| 1295 | axes=None, |
| 1296 | index: bool | list[str] = True, |
| 1297 | append: bool = True, |
| 1298 | complib=None, |
| 1299 | complevel: int | None = None, |
| 1300 | columns=None, |
| 1301 | min_itemsize: int | dict[str, int] | None = None, |
| 1302 | nan_rep=None, |
| 1303 | chunksize: int | None = None, |
| 1304 | expectedrows=None, |
| 1305 | dropna: bool | None = None, |
| 1306 | data_columns: Literal[True] | list[str] | None = None, |
| 1307 | encoding=None, |
| 1308 | errors: str = class="st">"strict", |
| 1309 | ) -> None: |
| 1310 | class="st">""" |
| 1311 | Append to Table in file. |
| 1312 | |
| 1313 | Node must already exist and be Table format. |
| 1314 | |
| 1315 | Parameters |
| 1316 | ---------- |
| 1317 | key : str |
| 1318 | Key of object to append. |
| 1319 | value : {Series, DataFrame} |
| 1320 | Value of object to append. |
| 1321 | format : &class="cm">#x27;table' is the default |
| 1322 | Format to use when storing object in HDFStore. Value can be one of: |
| 1323 | |
| 1324 | ``&class="cm">#x27;table'`` |
| 1325 | Table format. Write as a PyTables Table structure which may perform |
| 1326 | worse but allow more flexible operations like searching / selecting |
| 1327 | subsets of the data. |
| 1328 | axes : default None |
| 1329 | This parameter is currently not accepted. |
| 1330 | index : bool, default True |
| 1331 | Write DataFrame index as a column. |
| 1332 | append : bool, default True |
| 1333 | Append the input data to the existing. |
| 1334 | complib : default None |
| 1335 | This parameter is currently not accepted. |
| 1336 | complevel : int, 0-9, default None |
| 1337 | Specifies a compression level for data. |
| 1338 | A value of 0 or None disables compression. |
| 1339 | columns : default None |
| 1340 | This parameter is currently not accepted, try data_columns. |
| 1341 | min_itemsize : int, dict, or None |
| 1342 | Dict of columns that specify minimum str sizes. |
| 1343 | nan_rep : str |
| 1344 | Str to use as str nan representation. |
| 1345 | chunksize : int or None |
| 1346 | Size to chunk the writing. |
| 1347 | expectedrows : int |