On Tuesday, November 18, 2025 at 2:12:34 AM UTC+1 [email protected] 
wrote:

Is the beanquery source code the only resource to learn BQL syntax and 
tricks like that or is there a wholistic doc somewhere?

The official beanquery documentation 
<https://docs.google.com/document/d/1s0GOZMcrKKCLlP29MD7kHO4L88evrwWdIO0p4EwRBE0/edit?tab=t.0#heading=h.7aru55j2c7dz>
 
is not up to speed with the latest changes to beanquery, but still a good 
start, as beanquery is kept backwards compatible.

The internal beanquery documentation seems to be up to speed (automatically)

Specifically the *other_accounts * can be found if from the beanquery 
prompt you type:

.help where 

E.g.:

beanquery> .help where

A logical expression that consist of columns on postings and simple
functions.

Columns
-------

type: str

....

other_accounts: set
  The list of other accounts in the transaction, excluding that of this 
posting.

In general I tend to do basic extractions using *beanquery *and get the 
data into pandad dataframe. And then process the data further in pandas 
(see example 
<https://colab.research.google.com/drive/1BzdrUmWAd_0oxPqZ1G_rl3hD6RLWsVNH?usp=sharing>
)


-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/beancount/57a50001-5728-4fa5-b564-a2841f87a793n%40googlegroups.com.

Reply via email to