DEV Community

Cover image for use formal Python protocol
anna lapushner
anna lapushner

Posted on

use formal Python protocol

Familiarize yourself with this standard Python protocol.

import numpy as np
import pandas as pd

import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
Enter fullscreen mode Exit fullscreen mode

Trust us, this a lot simple than Thorndike's cat puzzle box. If you are just learning how to enjoy Python, use the libraries at your disposal.

Numpy:

Numpy is used for handling Numbers, Numerical analysis. It is the fundamental package for array computing with Python.

Pandas:

Pandas are used to process the data. Pandas contain data structures and data manipulation tools designed for data cleaning and analysis.

matplotlib.pyplot

Matplotlib is a visualization library & has been taken from the software Matlab. Part of this library is used to show plotting. USE .pyplot which means python plot.

Seaborn

Seaborn is also a visualization library. Use for the visualization of statistical models because it is among the reliable sources.

Beautiful Soup

For web scraping, for example if you want to build your own content databases for a local application.

Enter fullscreen mode Exit fullscreen mode

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs