Skip to content
Advertisement

Load oracle Dataframe in dask dataframe

I used to work with pandas and cx_Oracle until now. But I haver to switch to dask now due to RAM limitations.

JavaScript

I tried to do it similar to how I used cx_oracle with pandas. But I receive an AttributeError named:

JavaScript

Any ideas if its just a problem with the package?

Advertisement

Answer

Please read the dask doc on SQL:

  • you should provide a connection string, not an object

  • you should give a table name, not a query, or phrase your query using sqlalchemy’s expression syntax.

e.g.,

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement