You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Select the DataFrame to be reshaped into wide data.
36
-
2. Choose the column to be set as the _**index**_ in the reshaped DataFrame.
37
-
3. Select the column to be set as the _**columns**_ in the reshaped DataFrame.
38
-
4. Choose the column to fill the _**values**_ in each column of the reshaped DataFrame.
39
-
5.\[_**Pivot Table**_] Select which _**aggregation function**_ to apply for duplicate indices or columns. If multiple aggregation functions are selected, the results of each function are individually generated. For example, applying _**Count**_ and _**First**_ aggregation functions to columns A, B, and C would create six columns.
40
-
6. Additional code beyond the functionalities provided by Visual Python can be added.
41
-
7. Specify the variable name to assign to the result.
42
-
8. Reset the index to assign a new default integer index.
43
-
9. Preview the code that will be output in _**Code View**_.
44
-
10. Preview the resulting DataFrame in _**Data View**_.
45
-
11. Execute the code.
26
+
1._**DataFrame**_: Select the dataframe that will be reconstructed _with_ wide data_._
27
+
2._**Index**_: Select a column to set as the index in the reorganized dataframe.
28
+
3._**Columns**_: Select the columns you want to set as columns in the reorganized dataframe.
29
+
4._**Values**_: Select the columns you want to populate with values for each column in the reorganized dataframe.
30
+
5._**Aggregate (Pivot Table)**_: Select the aggregation function you want to apply to the duplicate indexes or columns. If you select multiple aggregation functions, the results of each function are generated separately. 
31
+
1. For example, applying the _**Count**_ and _**First**_ aggregation functions to columns A, B, and C results in a total of six columns.
32
+
6._**User Option**_: You can add options beyond what Visual Python provides.
33
+
7._**Allocate to**_: Specify a variable name to assign to the result.
34
+
8._**Reset Index**_: Reset the index to specify a new default integer index.
35
+
9._**Code View**_: Preview the code that will be output.
36
+
10._**Data View**_: Preview the output to be printed.
1. Select the DataFrame to be reshaped into long data.
58
-
2. Choose the column(s) to be specified as fixed variables in the reshaped DataFrame. These columns will be retained as they are in the reshaped DataFrame.
59
-
3. The names of the selected column(s) will be filled in the '_**A**_' column of the reshaped DataFrame, and the corresponding values from the original DataFrame will be filled in the '_**B**_' column.
60
-
4. Optionally provide additional desired options.
61
-
5. Specify the variable name to assign to the result.
62
-
6. Reset the index to assign a new default integer index.
63
-
7. Preview the code that will be output in _**Code View**_.
64
-
8. Preview the resulting DataFrame in _**Data View**_.
1._**DataFrame**_: Select the dataframe that will be reconstructed with long data_._
48
+
2._**Id**_: Select the column(s) you want to designate as fixed variables in the reorganized dataframe. These columns will remain intact in the reorganized dataframe.
49
+
3. The names of the column(s) selected in _**Value** are_ populated in the _**Var name**_ column of the reconstructed dataframe, and the values are populated in the _**Value name**_ column.
50
+
4._**User Option**_: You can add options beyond what Visual Python provides.
51
+
5._**Allocate to**_: Specify a variable name to assign to the result.
52
+
6._**Reset Index**_: Reset the index to specify a new default integer index.
53
+
7._**Code View**_: Preview the code that will be output.
54
+
8._**Data View**_: Preview the output that will be printed.
0 commit comments