MyGit

0.4.9.3

Kanaries/pygwalker

版本发布时间: 2024-07-25 16:19:13

Kanaries/pygwalker最新发布版本:0.4.9.9(2024-09-19 19:15:39)

What's Changed

Component api

We're excited to announce an experimental new feature in pygwalker:

The component chaining API that enables intuitive, step-by-step chart construction. This feature currently supports rendering to static HTML.

Key Points:

Example usage:


import pygwalker as pyg
import pandas as pd

df = pd.read_csv("xxx")

(
pyg.component(df)
    .rect()
    .encode(x='bin("feeling_temp", 6)', y='bin("temperature", 6)', color="MEAN(humidity)")
    .layout(height=400, width=460)
)

For more examples, please refer to the pygwalker/examples directory in our repository.

Upcoming Improvements:

  1. Optimize the size of pure chart HTML output
  2. Implement two-way communication for Jupyter and Streamlit environments

We welcome feedback from our community as we continue to develop and refine this feature.

Please note that as an experimental feature, syntax and functionality may change in future releases

Full Changelog: https://github.com/Kanaries/pygwalker/compare/0.4.9...0.4.9.3

相关地址:原始地址 下载(tar) 下载(zip)

1、 pygwalker-0.4.9.3-py3-none-any.whl 2.74MB

2、 pygwalker-0.4.9.3.tar.gz 2.84MB

查看:2024-07-25发行的版本