Questions tagged [palantir-foundry]

Palantir Foundry is a web-based data analytics and decision modeling SaaS platform. Use this tag for questions about building your own models in Foundry using Python, R, or SQL or working with the Foundry API.

Palantir Foundry is a web-based data analytics and decision modeling SaaS platform. Use this tag for questions about building your own models in Foundry using Python, R, or SQL or working with the Foundry API.

731 questions
3
votes
2 answers

In Foundry, how can I parse a dataframe column that has a JSON response

I am trying to bring in JIRA data into Foundry using an external API. When it comes in via Magritte, the data gets stored in AVRO and there is a column called response. The response column has data that looks like…
Robert F
  • 187
  • 5
3
votes
1 answer

What should do if I want to have multiple input & multiple output in python transform in palantir foundry?

I have scenario where I have multiple inputs and multiple outputs which I want to implement in python transform. I know palantir foundry does not support multiple output whereas it supports multiple inputs. How can I achieve this?
sumitkanoje
  • 1,217
  • 14
  • 22
3
votes
1 answer

Import pre-trained Deep Learning Models into Foundry Codeworkbooks

How do you import a h5 model locally from Foundry into code workbook? I want to use the hugging face library as shown below, and in its documentation the from_pretrained method expects a URL path to the where the pretrained model lives. I would…
Mihir
  • 982
  • 1
  • 7
  • 13
3
votes
1 answer

Creating a Leaflet map in code workbook in Foundry

Anyone created a leaflet map in Code Workbook using r-Leaflet? I have a functioning script that runs (also double checked in R) but how do I get it to visualise and then use in a Report etc. I have tried various tweaks on what may get it to run but…
3
votes
1 answer

How to upload dataset without authentication in Palantir foundry

I need to upload a test dataset which is having column names and their respective values to test the functionalities of the production code. How can I upload a dataset without authentication in palantir foundry. Anyone please suggest?
3
votes
1 answer

Is there a size limitation on files imported via the “File Import” widget in Foundry's Slate?

As I did not find any helpful documentation on the File Import-Widget in Slate I would like to know if there is any limit regarding the size of the imported files? Or is it possible to upload files with an arbitrary size?
carpa_jo
  • 630
  • 6
  • 16
3
votes
1 answer

How to writeback to dataframe using transform_df in palantir foundry?

I created a library for updating description of the columns of the input dataset. This function takes three parameter as input (input_dataset, output_dataset, config file) and eventually writes back the description of output dataset. So now we want…
3
votes
2 answers

How do I reduce the number of files in my foundry dataset?

My Dataset has 20000 files, each very small one. How would I reduce the number of files and what would be an optimal number?
Eran Witkon
  • 4,042
  • 4
  • 19
  • 20
3
votes
3 answers

How can we integrate an external rest api call via slate in palantir foundry?

I wish to integrate an external rest api within a slate application? Does Foundry allow calling external api's from SLATE, if yes how can we achieve the same?
Arun
  • 166
  • 5
3
votes
0 answers

How to access report parameters array in fusion spreadsheet

Parameters have been enabled to interact between spreadsheet and report: If parameter set in report it is accessible through linked cell. However this works for just one single value for [string] parameter. If multiple values entered in report form…
notNULL
  • 33
  • 4
3
votes
1 answer

Is there a tool available within Foundry that can automatically populate column descriptions? If so, what is it called?

We are looking to see if there is a tool within the Foundry platform that will allow us to have a list of field descriptions and when the dataset builds, it can populated those descriptions automatically. Does this exist and if so what is the tool…
2
votes
0 answers

Yet another "Module not found: Error: Can't resolve 'fs'" error after installing js library from npm

Sorry for yet another post on this topic, but my head is spinning from reading through what seems like hundreds of other stack overflow posts / articles and I'm still struggling with the "Module not found: Error: Can't resolve 'fs'"…
tessa
  • 734
  • 1
  • 8
  • 22
2
votes
0 answers

Foundry Build Error with Custom Library for xgboost.spark - Cross Dependency Issue

I am currently facing an issue with Palantir Foundry's platform. I have created a custom library to use the xgboost package on PySpark within Foundry (xgboost.spark). However, I'm encountering a problem during the check before the build process. I…
2
votes
1 answer

Palantir API: Different Objects as the same service endpoint

In short: I need a way to expose 2 phonograph objects with different data but the same name via Palantir API. On our on-prem stack we are exposing selected objects of the Ontology via an internal REST broker/middleware. This broker has a test and…
twinkle2
  • 341
  • 1
  • 8
2
votes
1 answer

Why can’t functions call internal Foundry APIs?

I am trying to write a Function on an Object that makes Foundry REST API calls. Is there an example or recommended internal Typescript API that I can import to make Foundry REST API calls?