pygraphistry icon indicating copy to clipboard operation
pygraphistry copied to clipboard

fix(readme): added chain + fixed hop malformat

Open dess890 opened this issue 1 year ago • 3 comments

@silkspace do you know where I can find anything on predicates to fill it out? re: https://github.com/graphistry/pygraphistry/issues/530

dess890 avatar Dec 27 '23 21:12 dess890

@dess890 you can see the entries here: https://github.com/graphistry/pygraphistry/tree/master/graphistry/compute/predicates

weirdly:

  • they do get listed here: https://pygraphistry.readthedocs.io/en/latest/graphistry.compute.predicates.html
    • ... no examples
    • ... and weird nav bar listing name+position from a table of contents perspective
  • but fully empty when listed in the main area: https://pygraphistry.readthedocs.io/en/latest/graphistry.compute.html#predicates

for usage, it's generally something like

from graphistry import n, e, is_in

g2 = g1.chain([
  n({
    'k1': 'v',
     'k2': is_in(['a', 'b', 'c'])
  }),
  e(),
  n(),
  ...
])

Getting a quick description + example for each predicate would help, especially more interesting args. They are, by design, exact API matches to the pandas tabular equivalents they pass through to.

lmeyerov avatar Dec 27 '23 23:12 lmeyerov

@dess890 just checking in here, saw this was dangling

lmeyerov avatar Mar 23 '24 05:03 lmeyerov

@aucahuasi realizing this just needs a review whenever you get the chance

dess890 avatar Apr 09 '24 00:04 dess890