Skip to main content

Essential ML library

 

. Sweetviz — Automated EDA That Makes Your Boss Think You Didn’t Sleep

Yes, pandas profiling exists.
But Sweetviz? It generates story-quality EDA reports that look like you paid a designer.

Here’s the shocker: it’s not widely used, and most devs have never heard of it.

import sweetviz as sv
import pandas as pd

df = pd.read_csv("data.csv")
report = sv.analyze(df)
report.show_html("eda_report.html")

Why it’s wizard-level:

  • Auto-detects target feature relationships
  • Produces visual comparisons between datasets
  • Creates reports faster than you can say “data cleaning”

I’ve used this to analyze a dataset in 90 seconds and impress a senior scientist who thought I spent “hours.”
Nope. Just Sweetviz.

2. River — Machine Learning That Learns Continuously

If scikit-learn is the classic calculator, River is the solar-powered one that never stops learning.
You can feed it data one row at a time — perfect for real-time dashboards, IoT streams, or stock tick updates.

from river import linear_model, optim, metrics

model = linear_model.LogisticRegression(optimizer=optim.SGD(0.01))
metric = metrics.Accuracy()

for x, y in stream: # stream yields…

Comments

Popular posts from this blog

Python road map

 

Ways of pandas making faster

 FireDucks makes Pandas 125x Faster (changing one line of code) 🧠 Pandas has some major limitations: - Pandas only uses a single CPU core. - It often creates memory-heavy DataFrames. - Its eager (immediate) execution prevents global optimization of operation sequences. FireDucks is a highly optimized, drop-in replacement for Pandas with the same API.  There are three ways to use it: 1) Load the extension:  ↳ %𝐥𝐨𝐚𝐝_𝐞𝐱𝐭 𝗳𝗶𝗿𝗲𝗱𝘂𝗰𝗸𝘀.𝐩𝐚𝐧𝐝𝐚𝐬; 𝗶𝗺𝗽𝗼𝗿𝘁 𝗽𝗮𝗻𝗱𝗮𝘀 𝗮𝘀 𝗽𝗱 2) Import FireDucks instead of Pandas:  ↳ 𝐢𝐦𝐩𝐨𝐫𝐭 𝗳𝗶𝗿𝗲𝗱𝘂𝗰𝗸𝘀.𝐩𝐚𝐧𝐝𝐚𝐬 𝐚𝐬 𝐩𝐝 3) If you have a Python script, execute is as follows:  ↳ 𝗽𝘆𝘁𝗵𝗼𝗻3 -𝗺 𝗳𝗶𝗿𝗲𝗱𝘂𝗰𝗸𝘀.𝗽𝗮𝗻𝗱𝗮𝘀 𝗰𝗼𝗱𝗲.𝗽𝘆 Done! ✔️ A performance comparison of FireDucks vs. DuckDB, Polars, and Pandas is shown in the video below. Official benchmarks indicate: ↳ Modin: ~1.0x faster than Pandas ↳ Polars: ~57x faster than Pandas ↳ FireDucks: ~125x faster than Pandas Credit- Ultan...

Top excel formula,master it