Skip to content

Commit cf15e3b

Browse files
visualpythongitbook-bot
authored andcommitted
GitBook: [#6] No subject
1 parent e809640 commit cf15e3b

36 files changed

+441
-76
lines changed

.gitbook/assets/Group 978.png

16.3 KB
Loading
4.36 MB
Loading

.gitbook/assets/VisualPython.gif

449 KB
Loading

.gitbook/assets/VisualPython2.gif

1000 KB
Loading

.gitbook/assets/image (1).png

56.5 KB
Loading

.gitbook/assets/image (10).png

41.6 KB
Loading

.gitbook/assets/image (11).png

36.5 KB
Loading

.gitbook/assets/image (12).png

45.5 KB
Loading

.gitbook/assets/image (13).png

73 KB
Loading

.gitbook/assets/image (14).png

31.4 KB
Loading

.gitbook/assets/image (15).png

40.2 KB
Loading

.gitbook/assets/image (16).png

50.6 KB
Loading

.gitbook/assets/image (2).png

42.4 KB
Loading

.gitbook/assets/image (3).png

73 KB
Loading

.gitbook/assets/image (4).png

53.7 KB
Loading

.gitbook/assets/image (5).png

32.7 KB
Loading

.gitbook/assets/image (6).png

48.3 KB
Loading

.gitbook/assets/image (7).png

44.7 KB
Loading

.gitbook/assets/image (8).png

45.5 KB
Loading

.gitbook/assets/image (9).png

46.3 KB
Loading

.gitbook/assets/image.png

72.5 KB
Loading

README.md

Lines changed: 9 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,16 @@
1+
# Welcome to Visual Python
12

2-
![Visual Python](https://i.esdrop.com/d/7o0dj05m8rnz/JNGCMedl18.png)
3+
**Visual Python** is a GUI-based Python code generator for data science.
34

5+
**Visual Python** is an extension to Jupyter Notebook.
46

5-
[![PyPI version shields.io](https://img.shields.io/pypi/v/visualpython)](https://pypi.python.org/pypi/visualpython/)
6-
![Python: 3.x](https://img.shields.io/badge/Python-3.x-yellowgreen)
7-
[![License: GPLv3](https://img.shields.io/badge/License-GPLv3-brightgreen)](https://github.com/visualpython/visualpython/blob/main/LICENSE)
8-
[![Code of Conduct: Contributor Covenant](https://img.shields.io/badge/Code%20of%20Conduct-Contributor%20Covenant-pink)](https://github.com/visualpython/visualpython/blob/main/CODE_OF_CONDUCT.md)
9-
[![Downloads](https://static.pepy.tech/personalized-badge/visualpython?period=total&units=international_system&left_color=grey&right_color=orange&left_text=Downloads)](https://pepy.tech/project/visualpython)
10-
[![Issues: ](https://img.shields.io/github/issues/visualpython/visualpython?color=%23FF6347)](https://github.com/visualpython/visualpython/issues)
7+
**Visual Python** is an open source project started for students who struggle with coding during Python classes for data science.
118

12-
## Introduction
13-
Visual Python is a GUI-based Python code generator, developed on the Jupyter Notebook as an extension. <br>
14-
Visual Python is an open source project started for students who struggle with coding during Python classes for data science.
9+
![Visual Python v2.2.8 ](<.gitbook/assets/Visual Python\_2.2.8.gif>)
1510

16-
<br>
11+
## Try Visual Python if you would like to
1712

18-
Try Visual Python if you would like to: <br>
19-
* manage big data with minimal coding skills. <br>
20-
* help students / business analysts / researchers to overcome learning barriers for Python. <br>
21-
* save & reuse repeatedly used codes(snippets). <br>
13+
* manage big data with minimal coding skills.&#x20;
14+
* help students / business analysts / researchers to overcome learning barriers for Python.&#x20;
15+
* save & reuse repeatedly used codes(snippets).
2216

23-
<br>
24-
<img src="https://github.com/visualpython/visualpython/blob/main/img/Visual%20Python_2.2.8.gif" width="85%">
25-
26-
## Getting Started
27-
28-
### 1. Requirements
29-
30-
Visual Python is an extension to Jupyter Notebook, so you must have Jupyter Notebook installed already.<br>
31-
- Python version 3.x
32-
- Jupyter notebook environment
33-
34-
### 2. How to Install
35-
36-
**1) Install package from**
37-
```
38-
pip install visualpython
39-
```
40-
41-
**2) Enable the package**
42-
```
43-
visualpy install
44-
```
45-
46-
**3) Activate Visual Python on Jupyter Notebook**
47-
48-
Click orange square button on the right side of the Jupyter Notebook menu bar.
49-
50-
### 3. Package Control Info
51-
* Usage: visualpy **[option]** <br>
52-
* Optional arguments:
53-
54-
```
55-
help - show help menu
56-
install - install packages
57-
uninstall - uninstall packages
58-
upgrade - version upgrade
59-
version - version check
60-
```
61-
62-
## Contributing
63-
If you are interested in contributing to the Visual Python, please see [`CONTRIBUTING.md`](CONTRIBUTING.md). <br>
64-
All skills from programmers, non-programmers, designers are welcomed.
65-
66-
* Programming Guide: [Developer Documentation](https://bird-energy-733.notion.site/visualpython-docs-85c0274ff7564747bb8e8d77909fc8b7)
67-
* GUI Design Guide: [Visual Python GUI Kit 1.0](https://www.figma.com/community/file/976035035360380841)
68-
69-
## License
70-
GNU GPLv3 with Visual Python special exception (See LICENSE file).
71-
72-
## Mission & Vision
73-
**Mission** <br>
74-
To support technology and education so that anyone can leverage big data analytics to create a variety of social values.
75-
76-
**Vision** <br>
77-
To create an environment where everyone can learn and use big data analytics skills easily.
78-
79-
## Support Visual Python
80-
Love Visual Python? <br>
81-
Your support will help us continue to actively develop and improve Visual Python.☕
82-
83-
<a href="https://www.buymeacoffee.com/visualpython" target="_blank"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=visualpython&button_colour=ffa238&font_colour=000000&font_family=Comic&outline_colour=000000&coffee_colour=FFDD00"></a>

SUMMARY.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Table of contents
2+
3+
## GETTING STARTED
4+
5+
* [Welcome to Visual Python](README.md)
6+
* [How to install](getting-started/how-to-install.md)
7+
* [Installing FAQ](getting-started/installing-faq.md)
8+
9+
## TUTORIALS
10+
11+
* [Data Preparation](tutorials/data-preparation.md)
12+
* [Data Exploration](tutorials/data-exploration.md)
13+
* [Data Transformation](tutorials/data-transformation/README.md)
14+
* [Modify DataFrames](tutorials/data-transformation/modify-dataframes.md)
15+
* [Create Subsets](tutorials/data-transformation/create-subsets.md)
16+
* [Group & Aggregate DataFrames](tutorials/data-transformation/group-and-aggregate-dataframes.md)
17+
* [Combine DataFrames](tutorials/data-transformation/combine-dataframes.md)
18+
* [Reshape DataFrames](tutorials/data-transformation/reshape-dataframes.md)
19+
20+
## RESOURCES
21+
22+
* [License](resources/license.md)
23+
* [Brand Story](resources/brand-story.md)
24+
* [Community](resources/community.md)

getting-started/how-to-install.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
description: This document will show how to install Visual Python.
3+
---
4+
5+
# How to install
6+
7+
8+
9+
{% hint style="info" %}
10+
**Visual Python** is an extension to [Jupyter Notebook](https://jupyter.org/), so you must have Jupyter Notebook installed already.&#x20;
11+
{% endhint %}
12+
13+
{% embed url="https://www.youtube.com/watch?v=d-nR-ADpObU" %}
14+
15+
### Pip Installation
16+
17+
**1. Install package from**
18+
19+
```
20+
pip install visualpython
21+
```
22+
23+
**2. Enable the package**
24+
25+
```
26+
visualpy install
27+
```
28+
29+
**3. Activate Visual Python on Jupyter Notebook**
30+
31+
Click orange square button on the right side of the Jupyter Notebook menu.
32+
33+
**4. Package Control Info**
34+
35+
Version Check
36+
37+
```
38+
visualpy version
39+
```
40+
41+
Version Upgrade
42+
43+
```
44+
visualpy upgrade
45+
```
46+
47+
&#x20;Uninstall
48+
49+
```
50+
visualpy uninstall
51+
```
52+
53+
Help Menu
54+
55+
```
56+
visualpy help
57+
```
58+
59+
60+

getting-started/installing-faq.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Installing FAQ
2+
3+
### Which web browsers does Visual Python support?
4+
5+
{% hint style="info" %}
6+
Visual Python may work on many up-to-date browsers but it is optimized for Chrome.
7+
{% endhint %}
8+
9+
### I installed Visual Python, but the orange button does not appear on my Jupyter Notebook.
10+
11+
This can happen if the you're using a Python version is not 3.x.&#x20;
12+
13+
1. Please upgrade to Python 3.x, or
14+
2. If you are using multiple versions of Python, specify the pip version as 3 using the following command:
15+
16+
**NOTE:** Please uninstall before reinstalling.&#x20;
17+
18+
```
19+
pip uninstall visualpython
20+
```
21+
22+
```
23+
visualpy install —pip3
24+
```
25+
26+
### How can I install Visual Python behind a corporate firewall?
27+
28+
If pip installation gives you SSLError, it can be solved using the following command:
29+
30+
```
31+
pip install visualpython --trusted-host pypi.org --trusted-host files.pythonhosted.org
32+
```
33+
34+
To upgrade Visual Python in the same environment, follow the steps below.
35+
36+
**1) Upgrade Visual Python package.**
37+
38+
```
39+
pip install visualpython --upgrade --trusted-host pypi.org --trusted-host files.pythonhosted.org
40+
```
41+
42+
**2) Enable the package.**
43+
44+
```
45+
visualpy install
46+
```
47+
48+
49+

resources/brand-story.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Brand Story
2+
3+
**Visual Python** is an open source project started for students who struggle with coding during Python classes for data science.
4+
5+
Just as the sun rises and the vision brighten, Visual Python is designed with the concept of giving hope and bright energy to people who are struggling with coding Python.
6+
7+
Inspired by the rising sun, bright orange and yellow gradation colors are used for the logo.
8+
9+
10+
11+
![](<../.gitbook/assets/Group 978.png>)
12+
13+
****
14+
15+
**Our Mission**
16+
17+
To support technology and education so that anyone can leverage big data analytics to create a variety of social values.
18+
19+
**Our Vision**
20+
21+
To create an environment where everyone can learn and use big data analytics skills easily.
22+
23+
**Our Core Values**
24+
25+
Clear and Concise / Liberty and Responsibility / Knowledge share
26+
27+
28+

resources/community.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Community
2+
3+
### **GitHub**
4+
5+
[github.com/visualpython/visualpython](https://github.com/visualpython/visualpython)
6+
7+
Visit our GitHub repository if you are interested in contributing, or to check out the community.
8+
9+
### Buy Visual Python a coffee
10+
11+
[buymeacoffee.com/visualpython](https://www.buymeacoffee.com/visualpython)
12+
13+
Love Visual Python?\
14+
Your support will help us continue to actively develop and improve Visual Python.☕
15+
16+
\
17+
18+
19+
20+
21+
22+

resources/license.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# License
2+
3+
The Visual Python is licensed under the GNU General Public License version 3.0 with the Visual Python special exception. (See [LICENSE](https://github.com/visualpython/visualpython/blob/main/LICENSE))
4+
5+
We hope to continue to develop and improve Visual Python with open source community to make better software for everyone.
6+
7+
8+
9+
_<mark style="color:green;">hello@visualpython.ai</mark>_
10+
11+
<mark style="color:orange;"></mark>
12+
13+
<mark style="color:orange;"></mark>

tutorials/data-exploration.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
description: This document will show how to do EDA with Visual Python.
3+
---
4+
5+
# Data Exploration
6+
7+
{% embed url="https://www.youtube.com/watch?v=DMdSJ2XMHKk" %}
8+
9+
### To explore the data&#x20;
10+
11+
1. Click on the <mark style="color:green;">**Profiling**</mark> app.
12+
2. Check the library installation, and import.
13+
3. Select a DataFrame to explore.
14+
4. Click <mark style="color:green;">**Generate Report**</mark>** **<mark style="color:orange;">****</mark> button.
15+
16+
[Pandas Profiling](https://github.com/ydataai/pandas-profiling) is a great library for quick EDA. This interactive report can be exported to HTML format.&#x20;
17+

tutorials/data-preparation.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
description: >-
3+
This document will show how to import Python libraries and read data files
4+
with Visual Python.
5+
---
6+
7+
# Data Preparation
8+
9+
{% embed url="https://www.youtube.com/watch?v=JrtkV_MpS0E" %}
10+
11+
### To import packages/libraries
12+
13+
Before starting, we need to import essential Python libraries.
14+
15+
1. Click on the <mark style="color:green;">**Import**</mark> app from the menu
16+
2. Select libraries you need
17+
3. Click <mark style="color:green;">**Run**</mark> button to generate code.
18+
19+
Numpy, Pandas, Matplotlib are the most primarily used libraries for data analysis. You can also add other libraries with <mark style="color:green;">**+ Module**</mark> / <mark style="color:green;">**+ Function**</mark> buttons.
20+
21+
### To read data from a file
22+
23+
Now, we need a dataset to analyze.
24+
25+
1. Click on the <mark style="color:green;">**File**</mark> app, to read data files.&#x20;
26+
2. Identify the data type: CSV, Excel, JSON, Pickle are supported
27+
3. Click on the folder icon to open the file explorer.
28+
4. Use additional options if necessary.
29+
5. Click <mark style="color:green;">**Run**</mark> !
30+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Data Transformation
2+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Combine DataFrames
2+
3+
{% embed url="https://www.youtube.com/watch?v=gbU66-NsTc4" %}
4+
5+
### To combine DataFrames
6+
7+
1. Click on the <mark style="color:green;">**Bind**</mark> app.
8+
2. Select combining method:
9+
10+
{% hint style="info" %}
11+
* <mark style="color:green;">**Concat**</mark>: to stack up multiple DataFrames along rows or columns.
12+
* <mark style="color:green;">**Merge**</mark>: to combine DataFrames based on values in shared columns.
13+
{% endhint %}
14+
15+
**Concat**
16+
17+
1. Select variables to combine.
18+
2. Select the axis to concatenate along.
19+
3. and then <mark style="color:green;">**Run**</mark> !
20+
21+
![](<../../.gitbook/assets/image (14).png>)
22+
23+
**Merge**
24+
25+
1. Select Left & Right data to merge.
26+
2. Select key columns to merge on.
27+
28+
![](<../../.gitbook/assets/image (6).png>)
29+

0 commit comments

Comments
 (0)