Skip to content

Eliminate variable value when computing data frame info #10081

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

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Feb 12, 2020

For #100075

DF values as returned from the new Jupyter inspect command can have invalid json in them.

Since we don't need the value when computing the DF information, just remove it.

@rchiodo
Copy link
Author

rchiodo commented Feb 12, 2020

Might want to point release this with the other fix. This would be a regression from previous versions as it was caused by the variable explorer rewrite.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov-io
Copy link

codecov-io commented Feb 12, 2020

Codecov Report

Merging #10081 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10081      +/-   ##
==========================================
- Coverage   61.37%   61.36%   -0.02%     
==========================================
  Files         565      565              
  Lines       30559    30560       +1     
  Branches     4385     4385              
==========================================
- Hits        18757    18753       -4     
- Misses      10823    10827       +4     
- Partials      979      980       +1
Impacted Files Coverage Δ
src/client/datascience/jupyter/jupyterVariables.ts 50.86% <0%> (-0.3%) ⬇️
src/client/common/utils/platform.ts 70.58% <0%> (-5.89%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0%> (-1.57%) ⬇️
src/client/common/process/proc.ts 14.49% <0%> (-0.73%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8e7e5e...3d97e25. Read the comment docs.

@rchiodo rchiodo merged commit 99e1b9d into master Feb 12, 2020
@rchiodo rchiodo deleted the rchiodo/fix_df branch February 12, 2020 19:03
rchiodo added a commit that referenced this pull request Feb 18, 2020
* Better messaging on notebook fail (#10056)

* Install jupyter instead of installing kernel spec (#10080)

* Install jupyter instead of installing kernel spec
For #10071

* Eliminate variable value when computing data frame info (#10081)

* Fix ndarray types to be viewable again (#10093)

* Eliminate variable value when computing data frame info

* Fix ndarrays to work again
Add test to make sure we don't regress this again

* Rchiodo/kernel telemetry (#10115)

* Add duration to select local/remote kernel

* Add notebook language telemetry

* Add news entries

* #9883 telemetry

* News entry

* Another spot for kernel spec failure

* Add telemetry on product install

* Fix install telemetry

* Undo launch.json change

* Handle other cases

* Better way to handle case

* Wrong event for jupyter install

* Fix unit tests

* Clear variables when restarting regardless if visible or not (#10117)

* Use different method for checking if kernelspec is available (#10114)

* Use different method for checking if kernelspec is available

* Fix unit tests

* More logging for kernelspec problems (#10132)

* More logging for kernelspec problems

* Actually capture the exception on the new code

* Not actually using output if first exception still there.

* Actually only return output on one of the expected calls.

* Fix nightly flake

* Check our saved jupyter interpreters before allowing any of them to be used as active interpreters (#10113)

* Update changelog and package.json

* Missing part of changelog

* Fix tests and linter problems

Co-authored-by: Ian Huff <[email protected]>
Co-authored-by: Don Jayamanne <[email protected]>
@lock lock bot locked as resolved and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants