Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Odo: Shapeshifting for your data

odo takes two arguments, a source and a target for a data transfer.

>>> from odo import odo
>>> odo(source, target)  # load source into target

It efficiently migrates data from the source to the target through a network of conversions.

odo network of conversions

Example

>>> from odo import odo
>>> import pandas as pd

>>> odo('accounts.csv', pd.DataFrame)  # Load csv file into DataFrame
      name  balance
0    Alice      100
1      Bob      200
2  Charlie      300

>>> # Load CSV file into Hive database
>>> odo('accounts.csv', 'hive://user:password@hostname/db::accounts')

Contents

General

.. toctree::
   :maxdepth: 1

   project-info
   overview
   uri
   datashape
   drop
   perf
   add-new-backend
   releases


Formats

.. toctree::
   :maxdepth: 1

   aws
   csv
   json
   hdf5
   hdfs
   hive
   mongo
   spark
   sas
   sql
   ssh


Developer Documentation

.. toctree::
   :maxdepth: 1

   type-modifiers
   functions

Odo is part of the Open Source Blaze projects supported by Continuum Analytics