Overview Of Atoti: A Python BI Analytics Tool (2024)

  • Last updated May 14, 2021
  • In AI Mysteries

Atoti is a Python business intelligence analytics tool that creates a Tableau-like dashboarding interface inside Jupyter notebooks.

  • Published on May 15, 2021
  • by Aditya Singh

Overview Of Atoti: A Python BI Analytics Tool (1)

Overview Of Atoti: A Python BI Analytics Tool (2)

Overview Of Atoti: A Python BI Analytics Tool (3)

Atoti is a Python business intelligence analytics tool that creates a Tableau-like dashboarding interface inside Jupyter notebooks. It provides a BI web application that enables hassle-free dashboard creation and sharing. Notebooks on their own are an amazing tool but they very obvious limitation when it comes to analytics tasks:

  • Pandas DataFrames are good for data wrangling, but they start to slow down when the datasets grow larger than a couple of GigaBytes, forcing the analyst to start over in Spark.
  • Visualization libraries create frozen plots, sure they are interactive, but you can’t apply filters without creating a new plot.
  • Lack of native support for multi-dimensional analysis like OLAP applications.

Atoti Stores, in-memory tables, scale very efficiently and can handle a lot more data than DataFrames. Additionally, it enables analysts to create advanced data models using joins between stores without duplicating data as done by a merge in pandas. Atoti has embedded interactive data visualization tools that can be used to build scenarios, apply filters and compare different versions of the data.

That being said, atoti doesn’t aim to replace pandas or Spark; they are both good tools for cleaning and transforming data. Atoti, on the other hand, focuses on visualization, analysis and collaboration. If that’s the case, then why not just use a dedicated BI tool like Tableau or PowerBI? For starters, atoti eliminates the need to export the data and load it into another software. In addition to that, it enables analysts to create new measures in Python rather than using a niche language like PowerBI’s DAX.

Creating a Dashboard with Atoti

Atoti can be installed from PyPI, if you want to use it interactively in notebooks, you’ll need to install its JupyterLab plugin as well.

pip install atoti[jupyterlab]
  1. Create a session.
 import atoti as tt session = tt.create_session() 
  1. Load the data into an atoti Store
 session.load_all_data() data = session.read_csv("FL_insurance_sample.csv", keys=["policyID"]) data.head() 

load_all_data() needs to be called when there are more than 1000 rows; otherwise, the first 1000 rows are sampled. The keys argument is used to indicate the primary key of the table.

  1. Inspired by OLAP applications, the data in atoti is modelled as cubes before analysis. Cubes provide a multidimensional view of data; they make it easy to explore, aggregate, filter and compare. It’s called a cube because each attribute of the data can be thought of as a cube dimension.
Overview Of Atoti: A Python BI Analytics Tool (4)
cube = session.create_cube(data)

Read more about OLAP cubes here.

  1. The cube automatically creates hierarchies for all non-numeric fields and measures for the numeric fields. Let’s see the measures created by the cube.
 m = cube.measures m 
Overview Of Atoti: A Python BI Analytics Tool (5)

The cube has created sum and mean measures for all numeric fields.

  1. Using the query() method, you can fetch the value of measures over the whole dataset.
cube.query(m["eq_site_limit.SUM"], levels=l["county"])
Overview Of Atoti: A Python BI Analytics Tool (6)

Or dice the cube to get the value for each COUNTY

cube.query(m["eq_site_limit.SUM"], levels=l["county"])
Overview Of Atoti: A Python BI Analytics Tool (7)

Or slice on a particular COUNTY

 cube.query( m["eq_site_limit.SUM"], condition=l["county"] == "BRADFORD COUNTY", ) 
Overview Of Atoti: A Python BI Analytics Tool (8)
  1. To create visualisations call the visualize method on the cube object. This will create a widget in the notebook and open the atoti tab on the left to manipulate the widget.
session.visualize()
  1. Building small widgets like this is good for exploring data but for providing deeper insights dashboard are better. Atoti enables creating dashboards by providing a web application that can be accessed outside of the notebook; here, widgets can be used to form sharable dashboards. The URL of this web app can be accessed by
session.url
Overview Of Atoti: A Python BI Analytics Tool (10)
Overview Of Atoti: A Python BI Analytics Tool (11)

This web application is a “safe” environment; all the filters and queries are read-only and the original data is not affected by it.

Last Epoch

This article introduced atoti, an analytics tool that enables analysts to analyze millions of rows on their laptops. It supports multi-dimensional analysis with OLAP cubes and the creation of interactive widgets inside Jupyter notebooks without any code. Atoti has various plugins that allow it to work with data from cloud platforms like AWS, GCP, Azure, etc. To learn more about atoti you can refer to the documentation.

Aditya Singh

A machine learning enthusiast with a knack for finding patterns. In my free time, I like to delve into the world of non-fiction books and video essays.

Download our Mobile App

Overview Of Atoti: A Python BI Analytics Tool (13)

Overview Of Atoti: A Python BI Analytics Tool (14)

Overview Of Atoti: A Python BI Analytics Tool (15)

Overview Of Atoti: A Python BI Analytics Tool (16)

Overview Of Atoti: A Python BI Analytics Tool (17)

Overview Of Atoti: A Python BI Analytics Tool (18)
Overview Of Atoti: A Python BI Analytics Tool (19)

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

3 Ways to Join our Community

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our Daily newsletter

Get our daily awesome stories & videos in your inbox

Recent Stories

Salesforce Chief Ethicist Deems Doomsday AI Discussions a ‘Waste of Time’

Focus should be on ensuring that we’re equipped to handle even the most advanced AI

OpenAI is Opening its New Tokyo Office This Month

The Tokyo office would be OpenAI’s third expansion after London and Dublin.

Why Developers Hate Jira

I have become Jira, the destroyer of workflows.

Hume AI’s Chatbot is A Chatty Stranger Who Never Shuts Up!

EVI, or Empathic Voice Interface, loves talking to you but would judge you emotionally and

What to Expect at the ‘Absolutely Incredible’ Apple WWDC 2024

“Mark your calendars for #WWDC24, June 10-14. It’s going to be Absolutely Incredible!” says Apple

How Databricks is Shaping Ola Krutrim’s AI Dreams in India

“Krutrim took a risk to be one of the first with a native model, but

Zoho’s ManageEngine Invests $10 Mn in NVIDIA, Intel, and AMD GPUs

The company sees India as the second go-to market for growth and scale after the

OpenAI’s Voice Engine Can Recreate Human Voices with Emotions

Voice Engine can create emotive and realistic voices with a single 15- second sample.

Top 4 GCC Summits of 2024 Transforming India’s Global Capability Centers

Discover the transformative power of India’s leading GCC summits in 2024, shaping the future of

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.

Overview Of Atoti: A Python BI Analytics Tool (2024)

FAQs

Overview Of Atoti: A Python BI Analytics Tool? ›

atoti is a free Python BI analytics platform for data scientists, data analysts, and business users. With atoti, you can quickly: Create different scenarios and compare them side by side. Create and gain insights from a multi-dimensional dataset.

What is atoti in Python? ›

Atoti is a Python library for performing data aggregation and creating data-viz widgets such as pivot tables and charts in a Jupyter notebook. It comes with a business intelligence web application, enabling fuss-free dashboard creation and sharing.

How is Python used in BI? ›

BI and dashboards (Descriptive analytics)

Data analysts often use Python to describe and categorize the data that currently exists. They engage in exploratory data analysis, which includes profiling the data, visualizing results, and creating observations to shape the next steps in the analysis.

What is Datastructure in Python? ›

Data structures are the fundamental constructs around which you build your programs. Each data structure provides a particular way of organizing data so it can be accessed efficiently, depending on your use case. Python ships with an extensive set of data structures in its standard library.

Do I need to know Python for business analytics? ›

In order to make wise business judgements, business analysts must examine data. They can work more productively and automate monotonous data analysis chores with the aid of basic coding abilities. Most used Programming languages for Data analysis are python and R.

Do you need Python for business analytics? ›

Python is a basis for advanced analytics; adaptability allows analysts to move fluently across different work areas, such as data pretreatment, statistical analysis, and machine learning. Python's versatility makes it an invaluable tool for students looking for a complete and integrated approach to analytics.

Is Python useful for business intelligence? ›

Python is an effective programming language for business intelligence and data analytics due to its flexibility, scalability, and extensive libraries focused on data manipulation and analysis. Key capabilities covered in this article include: Importing and cleaning data from diverse sources.

Is Python good for business intelligence? ›

Python has all of the features that make it universally acceptable and regarded as a robust programming language with simple code line usage. Its maintenance and debugging are also simple. Python is considered a good tool for business intelligence.

Is Python used in data analytics? ›

Despite the vast range of programming languages, most data analysts choose to work with Python. While some data analysts use other programming languages like Javascript, Scala, and MATLAB; Python remains the popular choice due to its flexibility, scalability, and impressive range of libraries.

What is Python used for in business? ›

As we have seen, Python can be used for data analysis, machine learning, web development, cybersecurity, finance, chatbots and virtual assistants, blockchain development, game development, web scraping, API development, and image and video processing, among other applications.

Top Articles
Latest Posts
Article information

Author: Edmund Hettinger DC

Last Updated:

Views: 6266

Rating: 4.8 / 5 (58 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Edmund Hettinger DC

Birthday: 1994-08-17

Address: 2033 Gerhold Pine, Port Jocelyn, VA 12101-5654

Phone: +8524399971620

Job: Central Manufacturing Supervisor

Hobby: Jogging, Metalworking, Tai chi, Shopping, Puzzles, Rock climbing, Crocheting

Introduction: My name is Edmund Hettinger DC, I am a adventurous, colorful, gifted, determined, precious, open, colorful person who loves writing and wants to share my knowledge and understanding with you.