Open-source News

Explore data visually with Python tools

opensource.com - Wed, 04/19/2023 - 15:00
Explore data visually with Python tools bill-wang Wed, 04/19/2023 - 03:00

Open source tools have been instrumental in advancing technology and making it more accessible to everyone. Data analysis is no exception. As data becomes more abundant and complex, data scientists always look for ways to simplify their workflow and create interactive and engaging visualizations. PyGWalker is designed to solve such problems.

PyGWalker (Python binding of Graphic Walker) connects a working environment of Python Jupyter Notebook to Graphic Walker to create an open source data visualization tool. You can turn your Pandas dataframe into a beautifully crafted data visualization with simple drag-and-drop operations.

Image by:

(Bill Wang, CC BY-SA 4.0)

Get started with PyGWalker

Use pip to install PyGWalker:

$ python3 -m pip install pygwalker

Import pygwalker and pandas to use it in a project:

import pandas as pd import pygwalker as pyg

Load data into a Pandas datagram and call PyGWalker:

df = pd.read\_csv('./bike\_sharing\_dc.csv', parse\_dates=\['date'\]) gwalker = pyg.walk(df)

You now have a graphical UI to explore and visualize your Pandas dataframe!

Explore data with Graphic Walker

One of the key features of Graphic Walker is the ability to change mark types to create different kinds of charts. For example, create a line chart by changing the mark type to a line.

Image by:

(Bill Wang, CC BY-SA 4.0)

You can also compare different measures by creating a concat view, which adds more than one measure into rows and columns.

Image by:

(Bill Wang, CC BY-SA 4.0)

Put dimensions into rows or columns to create a facet view of several subviews divided by the value in a dimension.

Image by:

(Bill Wang, CC BY-SA 4.0)

In the Data tab, you can view the data frame in a table and configure the analytic and semantic types.

Image by:

(Bill Wang, CC BY-SA 4.0)

More Python resources What is an IDE? Cheat sheet: Python 3.7 for beginners Top Python GUI frameworks Download: 7 essential PyPI libraries Red Hat Developers Register for your free Red Hat account Latest Python articles Data exploration with PyGWalker

You can turn your Pandas data into graphical and highly-customizable charts with PyGWalker. You can also use PyGWalker as a powerful tool for exploring data to uncover underlying patterns, trends, and insights.

Data exploration options are available in the Exploration Mode option (in the toolbar). They can be set to either Point Mode or Brush Mode.

  • Point Mode: Explore data by pointing your mouse cursor at a specific segment of the data.
  • Brush Mode: Explore data by drawing a selection box around a range of data and then drag it to see generated insights.
Try this to see your data

You can try PyGWalker on these cloud demos: Google Colab, Binder, or Graphic Walker Online Demo.

PyGWalker is an excellent tool for simplifying data analysis and visualization workflows, particularly for those who want a visual interface for Pandas. With PyGWalker and Graphic Walker, data scientists can easily create stunning visualizations with simple drag-and-drop operations in Jupyter Notebook. Check out the PyGWalker Git repository for the source code.

For data scientists who seek an open source solution to automated data exploration and advanced augmented analytics, the project also works on RATH, an open source auto-EDA, AI-empowered data exploration and visualization tool. You can also check out the RATH Git repository for the source code and an active community.

Combine Python, Pygwalker, Pandas, and Jupyter Notebook for a dynamic visual interface to your data.

Image by:

WOCinTech Chat. Modified by Opensource.com. CC BY-SA 4.0

Data Science Python What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

10 Best Linux Command-Line Tools

Tecmint - Wed, 04/19/2023 - 14:15
The post 10 Best Linux Command-Line Tools first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

In this article, we will share a few command-line programs that you can use in a Linux terminal. By the end of this article, you will learn about some free, open-source, and exciting, text-based

The post 10 Best Linux Command-Line Tools first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

10 Best Linux File and Disk Encryption Tools

Tecmint - Wed, 04/19/2023 - 12:59
The post 10 Best Linux File and Disk Encryption Tools first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

It wasn’t too long ago that we published a list of the best command line tools for Linux. Today, we turn our focus to encryption methods as we bring you a list of the

The post 10 Best Linux File and Disk Encryption Tools first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

Wasmer 3.2 Released With WebAssembly On RISC-V Support, New WCGI Feature

Phoronix - Wed, 04/19/2023 - 06:33
Wasmer as the open-source project focused on providing a "universal WebAssembly runtime" that supports a variety of platforms and architectures is out today with a new feature release...

OpenCL 3.0.14 Released With New Extension For Command Buffer Multi-Device

Phoronix - Wed, 04/19/2023 - 00:30
OpenCL 3.0.14 has been released that has a few minor fixes/corrections plus one prominent new extension: cl_khr_command_buffer_multi_device...

Solus Linux Plans New Direction Built Off Serpent OS

Phoronix - Wed, 04/19/2023 - 00:00
Joshua Strobl and original Solus project founder Ikey Doherty are both becoming re-involved with the Solus Linux distribution and moving ahead will be built off the SerpentOS project that Ikey has been independently working on the past few years...

Pages