"""
Basic usage example for timeserisdatasets

Run:
    python basic_usage.py
"""

import timeseriesdatasets as ts

print("=== timeseriesdatasets: Basic Usage Example ===\n")

# Load a dataset
print("Loading 'bitcoin_price' dataset...")
bitcoin = ts.load_dataset("bitcoin_price")

# Show basic information
print("\nFirst 5 rows:")
print(bitcoin.head())

print("\nDataset shape:")
print(bitcoin.shape)

print("\nColumn names:")
print(list(bitcoin.columns))

# Load another dataset
print("\nLoading 'yahoo_stock' dataset...")
yahoo = ts.load_dataset("yahoo_stock")

print("\nFirst 5 rows:")
print(yahoo.head())

# List all available datasets
print("Available datasets:")
print(ts.list_datasets())

# Describe a dataset
print("\nDataset description:")
print(ts.describe("tesla_stock"))

print("\nDone.")