lochan-eda / Getting Started

Getting Started

Installation and the two public ways to enter the lochan-eda workflow.

Installation

pip install lochan-eda

Automated workflow

AutomatedEDA provides the high-level interface for the common tabular preprocessing workflow.

import pandas as pd
from lochan_eda import AutomatedEDA

df = pd.read_csv("data.csv")

eda = AutomatedEDA()

X_train, X_test, y_train, y_test = eda.prepare(
    df,
    target="target"
)
See AutomatedEDA →

Component-level analysis

Use Profiler when you want explicit dataset inspection.

from lochan_eda import Profiler

profile = Profiler(df)

profile.overview()

profile.numerical
profile.categorical
PRINCIPLE
Understand the behaviour of the data before choosing how to preprocess it.