Skip to content

Instantly share code, notes, and snippets.

View imooger's full-sized avatar

imooger

View GitHub Profile
ix.eda(titanic,'Age','Sex')
ix.eda(titanic,'Age','Fare')
ix.eda(titanic,corr=True)
ix.eda(titanic,'Pclass','Survived')
@imooger
imooger / gist:b9b2a766457c28061032dea2578b9f11
Created February 16, 2024 06:50
code_we_didnt_have_to_write
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
# Step 2: Load the Titanic dataset
titanic_df = pd.read_csv('titanic.csv')
# Step 3: Display basic description
print("Basic Description:")
print(titanic_df.describe())
#Let’s load the dataset:
titanic = load_dataset('titanic')
#Now, let’s call Adix, and voilà, here is a complete dataset at a glance.
ix.eda(titanic)
pip install adix
import adix as ix
from adix.datasets import load_dataset