Method
to_sql
(
self,
name: str,
uri: str,
schema=None,
if_exists: str = "fail",
index: bool = True,
index_label=None,
chunksize=None,
dtype=None,
method=None,
compute=True,
parallel=False,
engine_kwargs=None,
)
Source from the content-addressed store, hash-verified
| 2405 | return to_json(self, filename, *args, **kwargs) |
| 2406 | |
| 2407 | def to_sql( |
| 2408 | self, |
| 2409 | name: str, |
| 2410 | uri: str, |
| 2411 | schema=None, |
| 2412 | if_exists: str = "fail", |
| 2413 | index: bool = True, |
| 2414 | index_label=None, |
| 2415 | chunksize=None, |
| 2416 | dtype=None, |
| 2417 | method=None, |
| 2418 | compute=True, |
| 2419 | parallel=False, |
| 2420 | engine_kwargs=None, |
| 2421 | ): |
| 2422 | from dask.dataframe.io.sql import to_sql |
| 2423 | |
| 2424 | return to_sql( |
| 2425 | self, |
| 2426 | name, |
| 2427 | uri, |
| 2428 | schema=schema, |
| 2429 | if_exists=if_exists, |
| 2430 | index=index, |
| 2431 | index_label=index_label, |
| 2432 | chunksize=chunksize, |
| 2433 | dtype=dtype, |
| 2434 | method=method, |
| 2435 | compute=compute, |
| 2436 | parallel=parallel, |
| 2437 | engine_kwargs=engine_kwargs, |
| 2438 | ) |
| 2439 | |
| 2440 | def to_orc(self, path, *args, **kwargs): |
| 2441 | """See dd.to_orc docstring for more information""" |