We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3d34ab commit 99e1b9dCopy full SHA for 99e1b9d
news/2 Fixes/10075.md
@@ -0,0 +1 @@
1
+Fix data viewer not opening on certain data frames.
src/client/datascience/jupyter/jupyterVariables.ts
@@ -120,8 +120,9 @@ export class JupyterVariables implements IJupyterVariables {
120
return defaultValue;
121
}
122
123
- // Prep our targetVariable to send over
124
- const variableString = JSON.stringify(targetVariable).replace(/\\n/g, '\\\\n');
+ // Prep our targetVariable to send over. Remove the 'value' as it's not necessary for getting df info and can have invalid data in it
+ const pruned = { ...targetVariable, value: '' };
125
+ const variableString = JSON.stringify(pruned);
126
127
// Setup a regex
128
const regexPattern =
0 commit comments