Loading...

API Reference

VAST Orbit API Documentation
Version 0.1.x

Welcome to the VAST Orbit API Reference. This comprehensive guide covers all public objects, functions, and methods available in VAST Orbit for data science at scale on the VAST AI OS.

Tip

New to VAST Orbit? Start with Getting Started for installation and quick examples, then explore the User Guide for in-depth tutorials.


Core Components

Essential modules for connecting to VAST and working with data.

Connection

Connect to VAST DataBase. Manage connections, catalogs, and authentication.

Connection
VastFrame

The main data structure - pandas-like API for VAST DataBase. 400+ functions for data manipulation.

VastFrame
Parsers

Load data from files (Parquet, CSV, JSON), databases, and streaming sources into VAST.

Parsers

Machine Learning & Analytics

Tools for building, training, and deploying ML models at scale.

Machine Learning

Train models with sklearn/Spark. Deploy for in-database inference. 10 supported algorithms.

Machine Learning
Stats

Statistical functions for hypothesis testing, distributions, and advanced analytics.

Statistical Functions

Visualization & Exploration

Create interactive charts and explore data visually.

Plotting

Comprehensive charting library supporting Plotly and Matplotlib backends.

Plotting
Jupyter Extensions

Interactive widgets, magic commands, and enhanced notebook functionality for VAST Orbit.

Jupyter Extensions
Datasets

Built-in sample datasets (Titanic, Iris, Amazon) for learning and testing.

Datasets

Data Management

Utilities for managing data in VAST DataBase.

Utilities

Helper functions for data ingestion, schema management, and table operations.

Utilities
SQL

Execute raw SQL queries against VAST DataBase with federated query support.

SQL
TableSample

Work with data samples for exploratory analysis and rapid prototyping.

TableSample

Advanced Topics

Error Handling

Exception types and error handling patterns in VAST Orbit.

Error Handling

Quick Reference

Most Used Functions:

import vastorbit as vo

# Connection
vo.new_connection({...})
vo.current_connection()

# Data Loading
vdf = vo.VastFrame('table_name')
vdf = vo.VastFrame('SELECT * FROM ...')

# Analysis
vdf.describe()
vdf.agg(func="max", columns)
vdf.scatter(['x', 'y'])

# Machine Learning
from vastorbit.machine_learning import RandomForest
model = RandomForest()
model.fit(vdf, 'target', ['feature1', 'feature2'])
predictions = model.predict(vdf)

Key Modules:

  • vastorbit.VastFrame - Main data structure

  • vastorbit.machine_learning - ML algorithms

  • vastorbit.plot - Visualization functions

  • vastorbit.sql - SQL execution utilities

  • vastorbit.stats - Statistical functions

Note

API Stability: VAST Orbit is currently in pre-release (0.1.x). APIs may change before the 1.0.0 release. After 1.0.0, VAST Orbit will follow semantic versioning with stable public APIs. Breaking changes will be announced in advance and deprecated gradually.

See also


Full API Documentation

Detailed documentation for every module, class, and function.