# \#code-workspaces

**URL:** https://community.palantir.com/tag/code-workspaces/32.md

[Latest](https://community.palantir.com/latest.md) · [Categories](https://community.palantir.com/categories.md) · [Tags](https://community.palantir.com/tags.md)

---

## [How can I know which Code Workspace is producing a given Streamlit application?](https://community.palantir.com/t/how-can-i-know-which-code-workspace-is-producing-a-given-streamlit-application/967)

<div class="topic-metadata">

**Author:** [@VincentF](https://community.palantir.com/u/VincentF)\
**Replies:** 0\
**Last updated:** [August 8, 2024, 2:44pm UTC](https://community.palantir.com/t/how-can-i-know-which-code-workspace-is-producing-a-given-streamlit-application/967 "2024-08-08T14:44:42Z")

</div>

I can open a Streamlit application in Foundry, but how can I find from which Code Workspace this application is produced ?

---

## [Using PyGWalker in Jupyter Code Workspaces](https://community.palantir.com/t/using-pygwalker-in-jupyter-code-workspaces/927)

<div class="topic-metadata">

**Author:** [@sandpiper](https://community.palantir.com/u/sandpiper)\
**Replies:** 0\
**Last updated:** [August 5, 2024, 2:41am UTC](https://community.palantir.com/t/using-pygwalker-in-jupyter-code-workspaces/927 "2024-08-05T02:41:37Z")

</div>

I’d like to use PyGWalker in Code Workspaces. I tried the below code: !mamba install -y -q pygwalker from foundry.transforms import Dataset flights = Dataset.get("flights").read\_table(format="pandas") import pygwalke…

---

## [Unable to import 'foundry' on Code Workspaces (Jupyter)](https://community.palantir.com/t/unable-to-import-foundry-on-code-workspaces-jupyter/721)

<div class="topic-metadata">

**Author:** [@tanmayb](https://community.palantir.com/u/tanmayb)\
**Replies:** 2\
**Last updated:** [June 19, 2025, 9:11am UTC](https://community.palantir.com/t/unable-to-import-foundry-on-code-workspaces-jupyter/721 "2025-06-19T09:11:58Z")

</div>

In my Jupyter workspace, I’m running into 'ModuleNotFoundError: No module named ‘foundry’ on trying to use: from foundry.transforms import Dataset. I didn’t change anything in the .yml file and I’ve already ‘added’ the …

---

## [Error when using external systems](https://community.palantir.com/t/error-when-using-external-systems/4092)

<div class="topic-metadata">

**Author:** [@isaiahxcruz](https://community.palantir.com/u/isaiahxcruz)\
**Replies:** 3\
**Last updated:** [June 4, 2025, 1:57pm UTC](https://community.palantir.com/t/error-when-using-external-systems/4092 "2025-06-04T13:57:55Z")

</div>

im using external systems to pull in gmail data and I keep getting the following error despite having an owner role Permission error when trying to access Foundry resource, make sure that you're authenticated and have t…

---

## [Running PySpark Tests in Code Workspaces](https://community.palantir.com/t/running-pyspark-tests-in-code-workspaces/6529)

<div class="topic-metadata">

**Author:** [@green](https://community.palantir.com/u/green)\
**Replies:** 0\
**Last updated:** [April 30, 2026, 9:53am UTC](https://community.palantir.com/t/running-pyspark-tests-in-code-workspaces/6529 "2026-04-30T09:53:51Z")

</div>

What’s the preferred pattern to run Spark DataFrame based tests using Code-Workspaces please? We have a few code respositories that run tests using the pattern described in the Docs DataFrame Unit Test Example, e.g. de…

---

## [Best approach to migrate data pipelines from Palantir to Databricks?](https://community.palantir.com/t/best-approach-to-migrate-data-pipelines-from-palantir-to-databricks/6405)

<div class="topic-metadata">

**Author:** [@494bbf6f8e78866c98a3](https://community.palantir.com/u/494bbf6f8e78866c98a3)\
**Replies:** 1\
**Last updated:** [April 14, 2026, 12:48pm UTC](https://community.palantir.com/t/best-approach-to-migrate-data-pipelines-from-palantir-to-databricks/6405 "2026-04-14T12:48:28Z")

</div>

I’m looking for guidance on replatforming a data pipeline from Palantir to Databricks, with an additional requirement to keep both systems in sync during the transition. Currently, the pipeline consists of multiple sour…

---

## [How to share Agent Rule across Code Workspaces](https://community.palantir.com/t/how-to-share-agent-rule-across-code-workspaces/6239)

<div class="topic-metadata">

**Author:** [@100hamilton](https://community.palantir.com/u/100hamilton)\
**Replies:** 1\
**Last updated:** [April 6, 2026, 12:45pm UTC](https://community.palantir.com/t/how-to-share-agent-rule-across-code-workspaces/6239 "2026-04-06T12:45:54Z")

</div>

I have a Code Workspace where I’m building React apps, and I’ve turned our company’s design standards into a Rule file that I can call from the Continue copilot. This has saved us significant time on design reviews and m…

---

## [Continue in Code Workspaces doesn't restart / doesn't load](https://community.palantir.com/t/continue-in-code-workspaces-doesnt-restart-doesnt-load/6067)

<div class="topic-metadata">

**Author:** [@emmanuel1](https://community.palantir.com/u/emmanuel1)\
**Replies:** 1\
**Last updated:** [March 26, 2026, 6:08pm UTC](https://community.palantir.com/t/continue-in-code-workspaces-doesnt-restart-doesnt-load/6067 "2026-03-26T18:08:07Z")

</div>

In one of my Repo’s Code Workspaces - Continue can’t be restarted anymore. I see this screen reloading forever: And In the bottom I see: What should I do? How can I get you better error logs?

---

## [Leveraging a GPU in Python Compute Modules](https://community.palantir.com/t/leveraging-a-gpu-in-python-compute-modules/5669)

<div class="topic-metadata">

**Author:** [@bkeohane](https://community.palantir.com/u/bkeohane)\
**Replies:** 1\
**Last updated:** [March 12, 2026, 7:08pm UTC](https://community.palantir.com/t/leveraging-a-gpu-in-python-compute-modules/5669 "2026-03-12T19:08:21Z")

</div>

We are trying to use GPU libraries for pytorch and cuda on a python compute module. We are trying to detect GPU access in the compute module, but the function to detect ability to use GPU via pytorch is returning false. …

---

## [How do I enable the "Ontology" side panel in Code Workspaces?](https://community.palantir.com/t/how-do-i-enable-the-ontology-side-panel-in-code-workspaces/212)

<div class="topic-metadata">

**Author:** [@yix](https://community.palantir.com/u/yix)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 7:28pm UTC](https://community.palantir.com/t/how-do-i-enable-the-ontology-side-panel-in-code-workspaces/212 "2024-05-09T19:28:55Z")

</div>

I want to use Ontology objects in Code Workspaces per this documentation, but I the ‘Ontology’ navigation button did not show up in the side panel in the workspace for some reason. Is there somewhere else in the platform…

---

## [MultiGPU training in Code Repo & Jupyter Workspace](https://community.palantir.com/t/multigpu-training-in-code-repo-jupyter-workspace/5965)

<div class="topic-metadata">

**Author:** [@9eab477d6eb76c06c4f6](https://community.palantir.com/u/9eab477d6eb76c06c4f6)\
**Replies:** 0\
**Last updated:** [February 5, 2026, 11:16am UTC](https://community.palantir.com/t/multigpu-training-in-code-repo-jupyter-workspace/5965 "2026-02-05T11:16:46Z")

</div>

Hello, I am trying to run Multi-GPU training in Foundry but I would like some expertise from the community: Spark with profile=\[“DYNAMIC\_ALLOCATION\_ENABLED”,“DRIVER\_GPU\_ENABLED”\] → One GPU get picked up from RQ and is…

---

## [Secure Code Scanning](https://community.palantir.com/t/secure-code-scanning/1881)

<div class="topic-metadata">

**Author:** [@michelle](https://community.palantir.com/u/michelle)\
**Replies:** 1\
**Last updated:** [November 15, 2024, 6:25pm UTC](https://community.palantir.com/t/secure-code-scanning/1881 "2024-11-15T18:25:52Z")

</div>

Hi, I was wondering if anyone has implemented anything for secure code scanning? (i.e. scanning code written in the platform, using tools like code repositories, to scan for sensitive things like keys, passwords etc).

---

## [Trying to intsall pyresparser package](https://community.palantir.com/t/trying-to-intsall-pyresparser-package/1870)

<div class="topic-metadata">

**Author:** [@2d78f45fe2e0dd0b74f7](https://community.palantir.com/u/2d78f45fe2e0dd0b74f7)\
**Replies:** 1\
**Last updated:** [November 13, 2024, 8:29pm UTC](https://community.palantir.com/t/trying-to-intsall-pyresparser-package/1870 "2024-11-13T20:29:56Z")

</div>

I am trying to install the package but i am getting this error msg. ERROR ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the fo…

---

## [Numpy 1.X error - Jupyter - Import dataset](https://community.palantir.com/t/numpy-1-x-error-jupyter-import-dataset/1783)

<div class="topic-metadata">

**Author:** [@9eab477d6eb76c06c4f6](https://community.palantir.com/u/9eab477d6eb76c06c4f6)\
**Replies:** 0\
**Last updated:** [November 7, 2024, 7:40am UTC](https://community.palantir.com/t/numpy-1-x-error-jupyter-import-dataset/1783 "2024-11-07T07:40:29Z")

</div>

Hello, Since a few days, I am having regularly an error regarding Numpy version when using foundry.transform to import a dataset: . Is there on-going change in the Foundry library that could cause this issue? Chee…

---

## [AngularJS with OSDK](https://community.palantir.com/t/angularjs-with-osdk/1717)

<div class="topic-metadata">

**Author:** [@jeanphelippe](https://community.palantir.com/u/jeanphelippe)\
**Replies:** 2\
**Last updated:** [November 6, 2024, 2:17pm UTC](https://community.palantir.com/t/angularjs-with-osdk/1717 "2024-11-06T14:17:04Z")

</div>

Is there a way to use OSDK with the AngularJS framework instead of React?

---

## [How to stream and buffer a video in React using the OSDK](https://community.palantir.com/t/how-to-stream-and-buffer-a-video-in-react-using-the-osdk/5707)

<div class="topic-metadata">

**Author:** [@davidszy](https://community.palantir.com/u/davidszy)\
**Replies:** 1\
**Last updated:** [December 19, 2025, 7:29pm UTC](https://community.palantir.com/t/how-to-stream-and-buffer-a-video-in-react-using-the-osdk/5707 "2025-12-19T19:29:10Z")

</div>

Hi there! I am building out a React application in Foundry using the OSDK. I have an object type in my ontology called “\[REDACTED\] Media” with a backing dataset containing the media references of some videos I would like…

---

## [Egress policies don't appear to be working for me when building a pipeline from code workspaces](https://community.palantir.com/t/egress-policies-dont-appear-to-be-working-for-me-when-building-a-pipeline-from-code-workspaces/5701)

<div class="topic-metadata">

**Author:** [@jjodele](https://community.palantir.com/u/jjodele)\
**Replies:** 0\
**Last updated:** [December 17, 2025, 8:37pm UTC](https://community.palantir.com/t/egress-policies-dont-appear-to-be-working-for-me-when-building-a-pipeline-from-code-workspaces/5701 "2025-12-17T20:37:49Z")

</div>

In a code workspace, I have set up an egress policy of an API I need to reach. When debugging or previewing the code, the egress policies work just fine, but when building the pipeline, I am getting an error that it cann…

---

## [Read schema when reading CSV in Code Workspaces](https://community.palantir.com/t/read-schema-when-reading-csv-in-code-workspaces/5645)

<div class="topic-metadata">

**Author:** [@ZygD](https://community.palantir.com/u/ZygD)\
**Replies:** 3\
**Last updated:** [December 9, 2025, 6:37pm UTC](https://community.palantir.com/t/read-schema-when-reading-csv-in-code-workspaces/5645 "2025-12-09T18:37:13Z")

</div>

I work with Jupyter Code Workspaces. When reading a dataset which consists of CSV files, I get many string columns. In my case, this happens, because only bare CSV files are read. However, the dataset has several differe…

---

## [Keep Jupyter Code Workspaces settings](https://community.palantir.com/t/keep-jupyter-code-workspaces-settings/5607)

<div class="topic-metadata">

**Author:** [@ZygD](https://community.palantir.com/u/ZygD)\
**Replies:** 2\
**Last updated:** [December 8, 2025, 12:03pm UTC](https://community.palantir.com/t/keep-jupyter-code-workspaces-settings/5607 "2025-12-08T12:03:11Z")

</div>

After every code workspace pause/resume, I need to re-configure my keyboard shortcuts. The following setting looks promising: But in reality, it does not seem to work. Is it possible to keep the custom settings afte…

---

## [Conda environment lock file hash mismatch](https://community.palantir.com/t/conda-environment-lock-file-hash-mismatch/1687)

<div class="topic-metadata">

**Author:** [@Theseus](https://community.palantir.com/u/Theseus)\
**Replies:** 0\
**Last updated:** [October 30, 2024, 9:29am UTC](https://community.palantir.com/t/conda-environment-lock-file-hash-mismatch/1687 "2024-10-30T09:29:15Z")

</div>

I have a Jupyter notebook that used to work, and runs through all of its cells successfully from the Jupyter UI. But when I Sync it and try to build the dataset, I’m getting a build error stating that the build failed d…

---

## [Output several .parquet files from Code Workspaces using PySpark](https://community.palantir.com/t/output-several-parquet-files-from-code-workspaces-using-pyspark/5582)

<div class="topic-metadata">

**Author:** [@ZygD](https://community.palantir.com/u/ZygD)\
**Replies:** 2\
**Last updated:** [December 3, 2025, 11:56am UTC](https://community.palantir.com/t/output-several-parquet-files-from-code-workspaces-using-pyspark/5582 "2025-12-03T11:56:00Z")

</div>

I work in Code Workspaces (Jupyter) using PySpark. The result is written into the file system, as the documentation suggests, like this: spark\_output = Dataset.get("spark\_output") spark\_output.write\_table(df\_processed.t…

---

## [DuckDb in lightweight incremental xform](https://community.palantir.com/t/duckdb-in-lightweight-incremental-xform/5548)

<div class="topic-metadata">

**Author:** [@dev.env](https://community.palantir.com/u/dev.env)\
**Replies:** 1\
**Last updated:** [November 26, 2025, 1:30pm UTC](https://community.palantir.com/t/duckdb-in-lightweight-incremental-xform/5548 "2025-11-26T13:30:35Z")

</div>

From the docs (https://www.palantir.com/docs/foundry/transforms-python/duckdb#incremental-workflows), DuckDB is used in an incremental lightweight transforms. When I run the same exact code I get this error: \`\`\`python …

---

## [Views in Code Workspaces apps](https://community.palantir.com/t/views-in-code-workspaces-apps/5361)

<div class="topic-metadata">

**Author:** [@ZygD](https://community.palantir.com/u/ZygD)\
**Replies:** 2\
**Last updated:** [November 7, 2025, 7:54am UTC](https://community.palantir.com/t/views-in-code-workspaces-apps/5361 "2025-11-07T07:54:32Z")

</div>

I am trying to use Code Workspaces (Jupyter). I do not get what one of the app settings mean. It seems, it should be able to use Views, but I don’t know how. The app setting: I have this enabled. But when I try to u…

---

## [Code Workbook alternative](https://community.palantir.com/t/code-workbook-alternative/5266)

<div class="topic-metadata">

**Author:** [@ZygD](https://community.palantir.com/u/ZygD)\
**Replies:** 2\
**Last updated:** [October 27, 2025, 7:51pm UTC](https://community.palantir.com/t/code-workbook-alternative/5266 "2025-10-27T19:51:36Z")

</div>

Code Workbook is in legacy phase for some time already. As a data engineer, I like several aspects about it. speed (a cluster stays there while one’s developing) pipeline visualization (often, micro-pipeline) actua…

---

## [How can I export high resolution visualisations from Code Workspaces?](https://community.palantir.com/t/how-can-i-export-high-resolution-visualisations-from-code-workspaces/1480)

<div class="topic-metadata">

**Author:** [@aszekely](https://community.palantir.com/u/aszekely)\
**Replies:** 1\
**Last updated:** [October 8, 2024, 4:22pm UTC](https://community.palantir.com/t/how-can-i-export-high-resolution-visualisations-from-code-workspaces/1480 "2024-10-08T16:22:43Z")

</div>

I need the visualisation in high resolution to include in a publication. Just taking a screenshot doesn’t give appropriate resollution.

---

## [Is model temperature supported in Code Workspaces model usage?](https://community.palantir.com/t/is-model-temperature-supported-in-code-workspaces-model-usage/5248)

<div class="topic-metadata">

**Author:** [@ever](https://community.palantir.com/u/ever)\
**Replies:** 0\
**Last updated:** [October 15, 2025, 6:25am UTC](https://community.palantir.com/t/is-model-temperature-supported-in-code-workspaces-model-usage/5248 "2025-10-15T06:25:50Z")

</div>

If so, is there documentation for the syntax for Code Workspaces?

---

## [Can I migrate project files from one foundry to another ?](https://community.palantir.com/t/can-i-migrate-project-files-from-one-foundry-to-another/5236)

<div class="topic-metadata">

**Author:** [@0cbbf4b992f24fc8734d](https://community.palantir.com/u/0cbbf4b992f24fc8734d)\
**Replies:** 0\
**Last updated:** [October 13, 2025, 4:05pm UTC](https://community.palantir.com/t/can-i-migrate-project-files-from-one-foundry-to-another/5236 "2025-10-13T16:05:44Z")

</div>

Hi All, I want to copy all the existing project files from one foundry to another foundry. is there any way to do that?

---

## [Is it possible to grant permissions to a published Streamlit application without granting users permission to view the source code in the Jupyter Workspace?](https://community.palantir.com/t/is-it-possible-to-grant-permissions-to-a-published-streamlit-application-without-granting-users-permission-to-view-the-source-code-in-the-jupyter-workspace/5212)

<div class="topic-metadata">

**Author:** [@ever](https://community.palantir.com/u/ever)\
**Replies:** 0\
**Last updated:** [October 10, 2025, 5:03am UTC](https://community.palantir.com/t/is-it-possible-to-grant-permissions-to-a-published-streamlit-application-without-granting-users-permission-to-view-the-source-code-in-the-jupyter-workspace/5212 "2025-10-10T05:03:01Z")

</div>

The current user seems to only be able to grant permissions by granting access to the original Jupyter notebook, but wants to avoid the possibility of the source code being seen.

---

## [Ontologize Build with Us Series for Palantir LPC Courses](https://community.palantir.com/t/ontologize-build-with-us-series-for-palantir-lpc-courses/5055)

<div class="topic-metadata">

**Author:** [@joshOntologize](https://community.palantir.com/u/joshOntologize)\
**Replies:** 4\
**Last updated:** [September 24, 2025, 3:26pm UTC](https://community.palantir.com/t/ontologize-build-with-us-series-for-palantir-lpc-courses/5055 "2025-09-24T15:26:49Z")

</div>

Hi everyone! Palantir recently released updated versions of their courses on learn(dot)palantir(dot)com. Whether you’re new to Foundry or to a particular tool and wanted to take any of these courses, check out our Build…

---

## [Python Dependency Conflicts](https://community.palantir.com/t/python-dependency-conflicts/4185)

<div class="topic-metadata">

**Author:** [@ssure](https://community.palantir.com/u/ssure)\
**Replies:** 1\
**Last updated:** [August 12, 2025, 11:51am UTC](https://community.palantir.com/t/python-dependency-conflicts/4185 "2025-08-12T11:51:14Z")

</div>

Ever had an issue with conflicting dependencies in python? What information would have helped you fixed it on the spot? Which output/visualization/… would have been useful? We would love to hear your ideas on how to imp…

[Next page](https://community.palantir.com/tag/code-workspaces/32.md?match_all_tags=true&page=1&tags%5B%5D=code-workspaces)
