Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Master Branch Changes Updated test_vis.py #312

Merged
merged 10 commits into from
Mar 18, 2021

Conversation

thyneb19
Copy link
Contributor

Overview

Merged changes from master branch PR #309 and PR #286. Updated test_vis.py since there was an issue within Github Actions' test environment.

Changes

Seems like Github Actions was not properly decoding a string within test_vis.py, updated the test criteria for test_scatter_chart() and test_colored_scatter_chart() to work within the test environment.

micahtyong and others added 10 commits March 15, 2021 08:56
…-org#304)

* Merge upstream

* Sync with master

* Fix bin size variance from lux-org#217

* Format and test

* Change labelOverlap to True

Co-authored-by: Dominik Moritz <domoritz@gmail.com>

* Modify markbar; currently questioning whether or not it's needed

* Remove markbar enitrely, rely on Altair automatic bin detection https://altair-viz.github.io/user_guide/generated/core/altair.BinParams.html

* Modify code snippet

* Revert "Remove markbar enitrely, rely on Altair automatic bin detection https://altair-viz.github.io/user_guide/generated/core/altair.BinParams.html"

This reverts commit 9cb9418.

* Implement bin size estimation via Freedman Diaconis's Rule

* Use numpy to compute IQR for better performance (pandas too slow)

* Add tests

* Add test cases for histogram binning

* Address changes from @domoritz review (small optimizations)

* Black and format

* Move histogram bin width computation to pandas executor (execute_binning)

* Center bars between ticks in distribution setting

* Renaming in execute_binning

* Bin width computed accurately in execute_binning; no need for get_bin_size()

* Revert to Freedman rule; maintain correct ticks

* Sync exported code with new histogram bin determination rules

* Sync exported code with new histogram bin determination rules

* Modify histogram code test case

Co-authored-by: Micah Yong <micahyong@Micahs-MacBook-Pro.local>
Co-authored-by: Dominik Moritz <domoritz@gmail.com>
Added disclaimer for the data preview
* add series equality and value counts test

* black formatting

* fix old value counts test instead

* add pandas tests

* remove str from column group

* save work on groupby bugs so far

* fix merge conflict again

* add new tests and add groupby bug fixes

* remove tests for staging

* update series tests

* add back getitem

* fix merge conflicts for staging

* remove print statements

* revert Makefile

* add test for name column case

* add test to ensure column is not all None

* re-add tests and commit new groupby implementation

* make parent LuxGroupby

* reformat LuxGroupBy and fix SeriesGroupby issue

* remove pandas tests

* run black

* finish seriesgroupby metadata propagation and add test

* run black
* rec series

* rec

* add changes back

* fix tests

* rm

* change

* set plotting_style

* nice

* black

* rm

* change rec

* reuse export

* change size of plot

* rm

* ref

* fixed

* reform

* enlarge font

* enlarge font

Co-authored-by: Caitlyn Chen <caitlynachen@berkeley.edu>
Removed unnecessary print statement and redundant initialization of test dataframe
Removed unnecessary parameter initialization in the LuxSQLTable init function as they are being set in the super constructor.
Issue when running test_vis in Github Actions. Adjusted test_scatter_chart and test_colored_scatter_chart
@thyneb19 thyneb19 merged commit 247387d into lux-org:sql-engine Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants