New kdb+/q users question forum
Developers new to q/kdb+
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

qpython to select columns from table

This is about qpython code. Let's say we have a table named "t" with 2 columns "name" and "iq" in kdb: from qpython import qconnection, qcollection q = qconnection.QConnection(host='localhost', port=5000): q.open() q("t:flip `name`iq!(`Dent`Beeblebro...

Cartesian Products

Hello, I'm a professional furniture maker and hobbyist programmer. I'm looking to calculate some basic paths to victory analysis on a series of x games with n players, each placing 1-n in any given game, with the ultimate number of outcomes being n!^...

jn001 by New Contributor II
  • 574 Views
  • 4 replies
  • 0 kudos

How do you start thinking in vectors?

In his reply to How long should a name be @darrenwsun raises a point so important it deserves a thread of its own, so I’m promoting it here. Darren wrote: As a dev using this language and a practitioner of the technology, I'm proud of its unprecedent...

Kenneth E. Iverson.jpg
SJT by Contributor III
  • 720 Views
  • 3 replies
  • 2 kudos

How long should a name be?

How long should a variable or function name be? A well-established tradition encourages us to use clear, meaningful names; names that explain what the variable contains, what the function does. Here is an alternative strategy – don’t. Bertrand Russel...

Bertrand_Russell_1957.jpg Chelsea-the-Dog-2.png Bertrand_Russell_1957.jpg
SJT by Contributor III
  • 654 Views
  • 2 replies
  • 5 kudos