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

Fill gaps in preceeding rows

I'm working with the expression builder of Palantir Contour. The following table is given, and I need to fill the gaps in the counter column. Problem: The rows before the first value shall be filled with first counter…
3
votes
0 answers

UI Path Studio - Data Scraping - Cannot find pattern

This website (Palantir Foundry - which is a pay-only cloud service, so it is not publicly available) Seems to use some React Tables package that creates a table with headers (that one can sort, filter, etc) and then rows of data. We want to capture…
Dr.YSG
  • 7,171
  • 22
  • 81
  • 139
3
votes
1 answer

Getting NULL values only from get_json_object in PySpark

I have a Spark Dataframe (in Palantir Foundry) with the column "c_temperature". This column contains a JSON string in each row with the following…
steffsen
  • 45
  • 4
3
votes
2 answers

How to schedule the data pipeline to run on first Tuesday each month and then 5 days later during night time cet using cron expression

I wanted to create a cron job that runs on first Tuesday every month and then 5 days later of first Tuesday at Night time cet.
Rama rao
  • 51
  • 2
3
votes
1 answer

How can I create an empty dataset using sparkcontext in Code Workbook in Palantir Foundry?

How do I create a bare minimum PySpark DataFrame in a Palantir Foundry Code Workbook? To do this in a Code Repository I'd use: my_df = ctx.spark_session.createDataFrame([('1',)], ["a"])
Skat
  • 87
  • 7
3
votes
2 answers

Change inputs based on whether a transform can run incrementally or not

I am fairly new at writing code and trying to teach myself python and pyspark based on searching the web for answers to my problems. I am trying to build a historical record set based on daily changes. I periodically have to bump the semantic…
eruhl06
  • 33
  • 4
3
votes
1 answer

How do you use rest parameters in Foundry's typescript functions

I have been trying to create a function in Foundry that will take n number of parameters and concatenate the strings with a given delimiter. When using a rest parameter, the input defaults to requiring data type array, not string. It also only…
3
votes
1 answer

Foundry Workshop, filter and pivot limits and possibilities

i'm trying to learn Workshop in Foundry and i'm caught in 3 big limits: I have 2 linked objects (in a 1 to many relationship), object 1 and object 2. I need to create a filter list, in a Workshop page, with columns of both object1 and object2.…
Jresearcher
  • 297
  • 3
  • 13
3
votes
2 answers

How to switch segments in Bar chart

I am creating a bar chart in Workshop and then segmenting by a column. This column has values as 'Yes' and 'No'. Currently the bar chart shows 'Yes' in the upper section and 'No' in the lower section. I would like to switch the values and show 'No'…
palak
  • 31
  • 1
3
votes
1 answer

Read data that is already in output and write back to the output

I have requirement to read the data that is already in the output and join the data to input and write back the data to the same output. This build is scheduled every…
3
votes
1 answer

Can Spark in Foundry use Partition Pruning

We have a dataset which runs as an incremental build on our Foundry instance. The dataset is a large time series dataset (56.5 billion rows, 10 columns, 965GB), with timestamps in 1 hour buckets. The dataset grows by around 10GB per day. In order to…
twinkle2
  • 341
  • 1
  • 8
3
votes
2 answers

How can I groupby multiple properties using a Function in Palantir Foundry?

I'd like to aggregate across a few properties using a Function. For example, I have a Function where a start and end date is input, and also a Schedule Object Type with "date", "shift_type", "department", and "hours worked" properties. I'd like my…
kevpl541991
  • 161
  • 4
3
votes
0 answers

Slate library for writing phonograph2 queries

Is there a JavaScript library to write properly formatted Phonograph2 queries?
Julio
  • 401
  • 4
  • 14
3
votes
1 answer

How do I merge a Pull Request when develop branch out of date?

I am trying to merge my develop branch to the master branch via a pull request. On the pull request page, I am getting the message "Branch is out of date. Merge master into **develop **to remedy." The problem is that no updates have been made to the…
Kevin Zhang
  • 263
  • 1
  • 9
3
votes
1 answer

In Palantir Foundry, how should I get the current SparkSession in a Transform?

I'm writing a Python Transform and need to get the SparkSession so I can construct a DataFrame. How should I do this?
hjones
  • 168
  • 1
  • 8
1 2
3
48 49