Python for kdb+
Table of Contents
What’s New in PyQ 4.0
Summary – Release highlights
Enhanced
q)
prompt
New operators
Shift operators
The
@
operator
Typed constructors and casts
Interoperability with NumPy
Matrices and arrays of higher dimensions
Times, dates and timedeltas
Additional conversions
Complex numbers
Path objects
Named tuples
Redesigned adverbs
Installation
Prerequisites
OS Support
Required Software
Installing from the package repository
Installing from source code
Installing PyQ into a virtual environment
Keeping PyQ up-to-date
Installing 32-bit PyQ with the free 32-bit kdb+ and Python 3.6 on 64-bit CentOS 7
1. Install development tools and libraries required to build 32-bit Python
2. Download, compile and install the 32-bit version of Python 3.6.0
3. Install virtualenv into Python installation
4. Create 32-bit Python virtual environment
5. Download the 32-bit Linux x86 version of kdb+ from kx.com
6. Extract kdb+ and install PyQ
6. Use PyQ
Installing PyQ on Ubuntu 16.04
Python 2
Python 3
User Guide
Introduction
The q namespace
The til function
Atomic functions
Mathematical functions
The null function
Aggregation functions
Accumulation functions
Sliding window statistics
Uniform functions
Set operations
Sorting and searching
From Python to kdb+
From kdb+ to Python
Working with files
K objects
Constructors and casts
Operators
The if statement and boolean operators
Arithmetic operations
The flip (
+
) operator
Bitwise operators
The
@
operator
Adverbs
Each
Over and scan
Each previous
Adverbs vs and sv
Input/Output
Numeric Computing
Primitive data types
Simple types
Dates, times and durations
Characters, strings and symbols
Nested lists
Tables and dictionaries
Enhanced shell
q) prompt
Calling Python from KDB+
The “p” language
Exporting Python functions to q
Reference Manual
class K
namespace q
Q functions
Version History
PyQ 4.0.2
PyQ 4.0.1
PyQ 4.0
PyQ 3.8.4
PyQ 3.8.3
PyQ 3.8.2
PyQ 3.8.1
PyQ 3.8
PyQ 3.7.2
PyQ 3.7.1
PyQ 3.7
PyQ 3.6.2
PyQ 3.6.1
PyQ 3.6.0
PyQ 3.5.2
PyQ 3.5.1
PyQ 3.5.0
PyQ 3.4.5
PyQ 3.4.4
PyQ 3.4.3
PyQ 3.4.2
PyQ 3.4.1
PyQ 3.4
PyQ 3.3
PyQ 3.2
PyQ 3.2.0 beta
PyQ 3.1.0
2012-08-10
PyQ 3.0.1
2009-10-23
2009-01-02
2007-03-30
0.3
0.2
License
Copyright
Free 32-bit license
64-bit license
Python for kdb+
Docs
»
Search
Please activate JavaScript to enable the search functionality.