mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 23:23:55 +00:00
[kdb+/en] Updated external links to the KX wiki (#3008)
* series of fixes and improvements * updated links to kx wiki
This commit is contained in:
parent
afdc29ec7e
commit
bcd41be223
@ -76,7 +76,7 @@ floor 3.14159 / => 3
|
|||||||
/ ...getting the absolute value...
|
/ ...getting the absolute value...
|
||||||
abs -3.14159 / => 3.14159
|
abs -3.14159 / => 3.14159
|
||||||
/ ...and many other things
|
/ ...and many other things
|
||||||
/ see http://code.kx.com/wiki/Reference for more
|
/ see http://code.kx.com/q/ref/card/ for more
|
||||||
|
|
||||||
/ q has no operator precedence, everything is evaluated right to left
|
/ q has no operator precedence, everything is evaluated right to left
|
||||||
/ so results like this might take some getting used to
|
/ so results like this might take some getting used to
|
||||||
@ -174,7 +174,7 @@ t - 00:10:00.000 / => 00:50:00.000
|
|||||||
d.year / => 2015i
|
d.year / => 2015i
|
||||||
d.mm / => 12i
|
d.mm / => 12i
|
||||||
d.dd / => 25i
|
d.dd / => 25i
|
||||||
/ see http://code.kx.com/wiki/JB:QforMortals2/atoms#Temporal_Data for more
|
/ see http://code.kx.com/q4m3/2_Basic_Data_Types_Atoms/#25-temporal-data for more
|
||||||
|
|
||||||
/ q also has an infinity value so div by zero will not throw an error
|
/ q also has an infinity value so div by zero will not throw an error
|
||||||
1%0 / => 0w
|
1%0 / => 0w
|
||||||
@ -183,7 +183,7 @@ d.dd / => 25i
|
|||||||
/ And null types for representing missing values
|
/ And null types for representing missing values
|
||||||
0N / => null int
|
0N / => null int
|
||||||
0n / => null float
|
0n / => null float
|
||||||
/ see http://code.kx.com/wiki/JB:QforMortals2/atoms#Null_Values for more
|
/ see http://code.kx.com/q4m3/2_Basic_Data_Types_Atoms/#27-nulls for more
|
||||||
|
|
||||||
/ q has standard control structures
|
/ q has standard control structures
|
||||||
/ if is as you might expect (; separates the condition and instructions)
|
/ if is as you might expect (; separates the condition and instructions)
|
||||||
@ -642,7 +642,7 @@ kt upsert ([]name:`Thomas`Chester;age:33 58;height:175 179;sex:`f`m)
|
|||||||
/ => Thomas 32 175 m
|
/ => Thomas 32 175 m
|
||||||
|
|
||||||
/ Most of the standard SQL joins are present in q-sql, plus a few new friends
|
/ Most of the standard SQL joins are present in q-sql, plus a few new friends
|
||||||
/ see http://code.kx.com/wiki/JB:QforMortals2/queries_q_sql#Joins
|
/ see http://code.kx.com/q4m3/9_Queries_q-sql/#99-joins
|
||||||
/ the two most important (commonly used) are lj and aj
|
/ the two most important (commonly used) are lj and aj
|
||||||
|
|
||||||
/ lj is basically the same as SQL LEFT JOIN
|
/ lj is basically the same as SQL LEFT JOIN
|
||||||
@ -669,7 +669,7 @@ aj[`time`sym;trades;quotes]
|
|||||||
/ => 10:01:04 ge 150
|
/ => 10:01:04 ge 150
|
||||||
/ for each row in the trade table, the last (prevailing) quote (px) for that sym
|
/ for each row in the trade table, the last (prevailing) quote (px) for that sym
|
||||||
/ is joined on.
|
/ is joined on.
|
||||||
/ see http://code.kx.com/wiki/JB:QforMortals2/queries_q_sql#Asof_Join
|
/ see http://code.kx.com/q4m3/9_Queries_q-sql/#998-as-of-joins
|
||||||
|
|
||||||
////////////////////////////////////
|
////////////////////////////////////
|
||||||
///// Extra/Advanced //////
|
///// Extra/Advanced //////
|
||||||
@ -716,7 +716,7 @@ first each (1 2 3;4 5 6;7 8 9)
|
|||||||
{x + y}/[1 2 3 4 5] / => 15 (only the final result)
|
{x + y}/[1 2 3 4 5] / => 15 (only the final result)
|
||||||
|
|
||||||
/ There are other adverbs and uses, this is only intended as quick overview
|
/ There are other adverbs and uses, this is only intended as quick overview
|
||||||
/ http://code.kx.com/wiki/JB:QforMortals2/functions#Adverbs
|
/ http://code.kx.com/q4m3/6_Functions/#67-adverbs
|
||||||
|
|
||||||
////// Scripts //////
|
////// Scripts //////
|
||||||
/ q scripts can be loaded from a q session using the "\l" command
|
/ q scripts can be loaded from a q session using the "\l" command
|
||||||
@ -756,7 +756,7 @@ select from splayed / (the columns are read from disk on request)
|
|||||||
/ => 1 1
|
/ => 1 1
|
||||||
/ => 2 2
|
/ => 2 2
|
||||||
/ => 3 3
|
/ => 3 3
|
||||||
/ see http://code.kx.com/wiki/JB:KdbplusForMortals/contents for more
|
/ see http://code.kx.com/q4m3/14_Introduction_to_Kdb+/ for more
|
||||||
|
|
||||||
////// Frameworks //////
|
////// Frameworks //////
|
||||||
/ kdb+ is typically used for data capture and analysis.
|
/ kdb+ is typically used for data capture and analysis.
|
||||||
@ -769,8 +769,8 @@ select from splayed / (the columns are read from disk on request)
|
|||||||
|
|
||||||
## Want to know more?
|
## Want to know more?
|
||||||
|
|
||||||
* [*q for mortals* q language tutorial](http://code.kx.com/wiki/JB:QforMortals2/contents)
|
* [*q for mortals* q language tutorial](http://code.kx.com/q4m3/)
|
||||||
* [*kdb for mortals* on disk data tutorial](http://code.kx.com/wiki/JB:KdbplusForMortals/contents)
|
* [*Introduction to Kdb+* on disk data tutorial](http://code.kx.com/q4m3/14_Introduction_to_Kdb+/)
|
||||||
* [q language reference](http://code.kx.com/wiki/Reference)
|
* [q language reference](http://code.kx.com/q/ref/card/)
|
||||||
* [Online training courses](http://training.aquaq.co.uk/)
|
* [Online training courses](http://training.aquaq.co.uk/)
|
||||||
* [TorQ production framework](https://github.com/AquaQAnalytics/TorQ)
|
* [TorQ production framework](https://github.com/AquaQAnalytics/TorQ)
|
||||||
|
Loading…
Reference in New Issue
Block a user