Skip to content

JM-RPC/pivoter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pivoter() is a light weight shiny shell around some basic plotting tools (matplotlib, seaborn, plotly) and pandas pd.pivot_table function.
What it attempts to do:

  1. Read a .csv file in
  2. Create a pivot table based on user's choice of variables, and filters
  3. Allow omplex compound row and column structures.
  4. Plot the pivot table
  5. Minimal guard rails Early developement/proof of concept stage code.

Basic operation

Input tab

  1. Choose andinput file on the Input tab. .csv work well .dta (STATA) files sometimes work

Pivot Table Tab

  1. Aggregation allows to you choose the summary of the value variable to compute for each cell
  2. Value expects a column name of a column containing numerical values, unless you use "count" which just counts occupied cells.
  3. Group rows by and group columns by are lists of column names. In the case of group rows by, th evalues in the column names will be used as grouping categories. More than one row grouping variable and column grouping variable creates complex tables.
  4. Show margins if yes applies the aggregation function to all values contrained in the adjacent column or row.
  5. Change the pivot table to do row or column proportions (works best with counts and sums)
  6. Filter On: choose a variable use values of that variable to include/ or exclude observations from your pivot table
  7. Included Rows: the values of the variable chosen in #7 that will be included in the pivot table
  8. Start With: if "all" start with all rows included, if "none" start with all rows excluded

Pivot Plot

  1. Pivoter will bravely try to represent the pivot table you created using the chart type you chose.

About

shiny shell for pandas pivot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages