mwoods
Forum Replies Created
-
@jeanluck watch the order of your columns as per the sample table, date should be out in front. Another way to load in partitioned data WITH date column already added so you dont have to add it in manually using update and then reordering columns is using select from statement instead of get
-
mwoods
AdministratorApril 19, 2024 at 4:39 pm in reply to: Level 2 capstone project kx developer not openingSuggestions on these links may help
https://learninghub.kx.com/forums/topic/complete-reset-of-workspace/#post-33769
https://learninghub.kx.com/forums/topic/kx-developer-broken/
-
mwoods
AdministratorApril 4, 2024 at 12:16 pm in reply to: How to reset/reinitialise the sandbox in a topicYou can revert to the original using git to discard your changes, making sure you shut down your notebook first.
Steps:
1. Shut down notebook kernal and the notebook tab – either by right clicking or in the second icon in left hand menu (see image)
2. Open a terminal – click the + symbol, select Terminal and run git status and git restore on any notebooks that have changes you wish to revert
3. Reopen notebook – should no longer see your changes
-
Hi @lestat-jin thanks for flagging this.
Upon review I agree it is confusing and badly worded, in fact there are a number of small changes I have made to make to make this example clearer including:
- changing the direction from > to <
- asking for longitude rather than latitude as this is what we are outputting to console with 0N! so we can better see if it is meeting the checks
- adding a missing semicolon at then end of the second if statement
I have attached the updated example with fixes above.
If you want to get the notebook with these changes you can delete your current directory from the terminal and relaunch the sandbox from the course.
Thanks for your feedback and helping us to improve the materials !
-
mwoods
AdministratorMarch 11, 2024 at 9:38 am in reply to: May have broken my KX Developer workspaceHi @fionan I had a look and reset your workspace for you by redoing the steps in the original README i.e. rerunning setup.sh before opening KX developer. Can you try now? Thanks
-
mwoods
AdministratorMarch 8, 2024 at 11:35 am in reply to: Exercise 16: – Use indexing to find the middle value in the `sortedFares` list.Hi @natasha-lakhpaty the indexing approach taken in the exercise solution returns the value at the index that is halfway between the sorted list.
The med function doesn’t have to return an actual distinct value that exists in the list, but instead the arithmetic middle value. Have added a simpler example here – hope this helps!