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