Best Of
Re: Data format from Jupyter to Dataset
I realize this is late to the game, but this is a good discussion that hasn't ever been answered.
What I noticed in @thinh_dao's OP is the datatype for the examples that failed to convert. They're not all lower-case. Int64 and Float64 are used instead of the lower-case equivalents. The best practice for data types is to use all lower-case.
I tested this for float64 and sure enough, if I type my data as float64 in a python dataframe, it will output get as float data type when using the domojupyter.write_dataframe() method. However, the use of Float64 returns a string data type. I repeated this test for int64 vs. Int64. In this case both worked. We are 13 months from the OP to now. I suspect in that time code change made both variations of int64 compatible. float64 remains compatible only to the lower-case variation.
I would recommend sticking with lower-case data types regardless of how Python handles them.
Regarding Date Types
@DavidChurchman is spot on about the date type not working. However, this is a Python/Pandas/NumPy limitation. If you have a column with with a timestamp or a date, and you apply a method to convert to date only, it will convert an either a datetype type or an object type depending on the method used. There is no date only type for dataframes either using Pandas or NumPy.
See for details. Since Pandas gets its data types from NumPy data types this should apply to both.
I tested this when I first learned of it. My personal incredulity got the best of me:
The above example is using domojupyter to load a federated dataset. The column, REQUISITIONING_DATE, comes in as a timestamp. We attempt date conversion using three methods: the pandas method, pd.to_datetime(), the date method from the datetime library, and the somewhat newer datetime.datetime.fromisoformat()
The first return output is the original column that comes in as dateime64.
The second output used pd.to_datetime(). It specified the format of the column data time detail. It returns a datetime type. The time will default to midnight in the data.
The dt.date method is added to the end of the column in the next example. It attempts to force a date only. It will function in Python as a date, but the dataframe date type is an object which is the equivalent of a string in Domo.
Our last example uses the datetime.date.fromisoformat. Older versions of Python use datetime.datetime.strptime() to the same effect. The effect is the same as above. The dataframe data type is a string.
While you can use dates columns within Pandas and NumPy, they do not have an actual date type.
Add'l reference:
RobB
Re: Booking date and shipment date formula
If your dataset already has the booking date, shipment date, shipping dollars and order number, you shouldn't need any additional fields. Have you tried using any of the above suggestions in Analyzer? Start with a table card and see if it returns the results you expect.
Re: Approach to logically group data via inference of similar text strings
If you have pre-defined groupings then you can use a formula tile or beastmode to create a new field that groups the data together based on your criteria.
You could start with something like this:
CASE WHEN LOWER(`Underwriter`) LIKE '%bankers trust% OR LOWER(`Underwriter`) LIKE '%bankerstrust% AND LOWER(`Corporate Sponsor`) LIKE '%acme%' AND `CreationDate in EST` >= '2020-09-08' AND `CreationDate in EST` <= '2020-11-24' THEN 'Group1'
WHEN (etc…. keep adding additional groupings as needed)
END
Beyond this would require fuzzy matching and some data science work. But if you know the grouping logic then it is definitely doable as shown above.
Re: How Can I Unsubscribe From An Alert Without Deleting It For Others?
You should be able to still own the alert but unsubscribe for it by making sure all of the notification method iconds (mail, phone, sms, phone) are unchecked (black) and that should unsubscribe you from the alert without causing you to lose ownership of the alert.
See for more information
Re: Bullet Chart Data Labels
I thought I was crazy when all three of my bars on the bullet were showing the same value. I would have sworn that the numbers were different before. My boss said the same thing. So I looked at the card history, and indeed I used to have separate labels for value, range 1 and range 2. I noticed the change on Friday, the same day you posted this question. I have opened a ticket with Domo to see if they made an update recently.
Re: "Domo is ready, but WorkdayRaas reported an error" Error appears every Saturday
Does Workday have a scheduled maintenance time when you have your job scheduled to run? Have you tried scheduling your job for a different time?



