Best Of
Re: Pandas Boolean DType Compatibility Issue
Why not coerse the field type to text?
df['TF'] = df['TF'].astype(str)
Re: Pandas Boolean DType Compatibility Issue
schema = {
"id": "int",
"name": "str",
"created_at": "datetime",
"amount": "float",
"is_active": "bool", # we'll handle this explicitly
}
import pandas as pd
def enforce_schema(df, schema):
for col, dtype in schema.items():
if col not in df.columns:
continue
if dtype == "int":
df[col] = pd.to_numeric(df[col], errors="coerce").astype("Int64")
elif dtype == "float":
df[col] = pd.to_numeric(df[col], errors="coerce")
elif dtype == "str":
df[col] = df[col].astype(str)
elif dtype == "datetime":
df[col] = pd.to_datetime(df[col], errors="coerce")
elif dtype == "bool":
# 👇 IMPORTANT: normalize for Domo
df[col] = df[col].map({True: 1, False: 0})
# OR use text instead:
# df[col] = df[col].map({True: "Yes", False: "No"})
return df
df = enforce_schema(df, schema)
domojupyter.write_dataframe(df, dataset_id)
With something like the above, you can push the structures to proper types. The only type I have problems with is DATE. You can get DATETIME with Python writing to Domo but you can't get DATE.
Re: Set specific runtime for Enterprise Dataset Copy Job
Is this the connector you're referencing? That might be easier then scripting the API call but the bulk ingestion of the enterprise feature is niiice idk if it's worth dropping for the advanced scheduling.
Appreciate the response either way and your YouTube videos are amazing so tysm for those, Mark!
Re: Dataset Beast Modes and Sandbox
Hey Grant,
The source datasets are federated Dremio datasets so we're not actually copying data and federated datasets arent supported with virtual datasets. We don't want to copy data at all (since thats live data) and views seem to add alot of overhead on top of federated datasets. So we're just trying to figure out a way that if we add a beast mode in a dev copy of that federated dataset, we have an easy way to add that beastmode metadata to the same dataset in prod in a mroe automated fashion as some datasets will have 100+ standard calculations on them.
Introduction Suggestions
Welcome to Domo's user community! We encourage our users to connect and network in the community forums.
Users would love to get to know you — so share as much as you'd like.
For some ideas, you may include:
- Where you are from
- Your career
- Your Industry
- Hobbies
Start by creating a new discussion post in the “Community Member Introductions” category.
Controlling Page-Level access in App Studio
I've built a KPI app in the App studio but have two different user groups that have different needs for the type of content they want to see. lets call them group A and group B. Group A needs to see bigger trends, while group B needs to see a more granular view. I'd like to be able to hide/show different pages in my app based off of the user group. so for example, Group A would be able to see (Home Page, Page 1, Page 2) while group B would be only see (Home Page, Page 3, Page 4).
Right now all i can figure out how to do is control overall app access and i can also hide pages from the Nav bar (but not as far as I can tell with any specific control over which group to hide from. seems like its all or nothing).
Is what Im trying to do possible? should I just throw in the towel and create/support two similar but slightly different apps?
Re: Custom Map for Ecom Store
Mark Snodgrass has a really good tutorial on using InkScape. I think you could create a custom map that has a little "cloud" or "computer" area that represents your ecom stores and maintain a full Canada province set as well. Inkscape can be a little challenging to figure out but once you get the layers & boundaries working it's pretty straightforward, and @MarkSnodgrass does a great job explaining it.
Custom Charts and Regions in Domo
Beast Mode Delete Button
Hey all,
Has anyone heard of any rumblings about adding a Delete Button in Beast Mode Manager? I have a customer claiming they were told that was coming so I wanted to bounce that off someone.


