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
| 2439 | return to_json(self, filename, *args, **kwargs) |
| 2440 | |
| 2441 | def to_sql( |
| 2442 | self, |
| 2443 | name: str, |
| 2444 | uri: str, |
| 2445 | schema=None, |
| 2446 | if_exists: str = "fail", |
| 2447 | index: bool = True, |
| 2448 | index_label=None, |
| 2449 | chunksize=None, |
| 2450 | dtype=None, |
| 2451 | method=None, |
| 2452 | compute=True, |
| 2453 | parallel=False, |
| 2454 | engine_kwargs=None, |
| 2455 | ): |
| 2456 | from dask.dataframe.io.sql import to_sql |
| 2457 | |
| 2458 | return to_sql( |
| 2459 | self, |
| 2460 | name, |
| 2461 | uri, |
| 2462 | schema=schema, |
| 2463 | if_exists=if_exists, |
| 2464 | index=index, |
| 2465 | index_label=index_label, |
| 2466 | chunksize=chunksize, |
| 2467 | dtype=dtype, |
| 2468 | method=method, |
| 2469 | compute=compute, |
| 2470 | parallel=parallel, |
| 2471 | engine_kwargs=engine_kwargs, |
| 2472 | ) |
| 2473 | |
| 2474 | def to_orc(self, path, *args, **kwargs): |
| 2475 | """See dd.to_orc docstring for more information""" |