Added join examples and doc
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 157 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 150 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 130 KiB |
+24
-1
@@ -40,8 +40,29 @@ Use **Pandas Select Columns** for selecting columns, **Pandas Select Rows** to s
|
||||
|
||||

|
||||
|
||||
## Joining DataFrames.
|
||||
## Joining DataFrames
|
||||
Use **Pandas Join**. You can select from inner, left, right, outer joins.
|
||||
First, use two **Pandas Load CSV** nodes to load two CSVs for the left DataFrame and right DataFrame.
|
||||
|
||||

|
||||
|
||||
### Inner join
|
||||
Specify the common column in the "on column name" field, and set the join method to **inner** in the **Pandas Join** node.
|
||||

|
||||
|
||||
### Left join
|
||||
Specify the common column in the "on column name" field, and set the join method to **left** in the **Pandas Join** node.
|
||||

|
||||
|
||||
### Right join
|
||||
Specify the common column in the "on column name" field, and set the join method to **right** in the **Pandas Join** node.
|
||||

|
||||
|
||||
### Outer join
|
||||
Specify the common column in the "on column name" field, and set the join method to **outer** in the **Pandas Join** node.
|
||||

|
||||
|
||||
The workflow file examples/workflows/join.json contains all of the above cases.
|
||||
|
||||
## Extract the first few rows
|
||||
Use **Pandas Head**.
|
||||
@@ -62,6 +83,8 @@ Use **Pandas To String**. This node is to convert the DataFrame to a displayable
|
||||
|
||||
## Displaying charts or plots
|
||||
Use one of the below:
|
||||
| Node | Purpose |
|
||||
|---|---|
|
||||
| **MPL Bar Chart** | Generate a bar chart |
|
||||
| **MPL Line Plot** | Generate a line plot |
|
||||
| **MPL Scatter Plot** | Generate a scatter plot |
|
||||
|
||||
Reference in New Issue
Block a user