Hacker News new | ask | show | jobs
by mdevere 3262 days ago
Hey, this sounds really interesting and I'd like to play around with it. However, I'm a novice and run into the following issue:

>>> examples.sales

<DataNode>

No idea what a DataNode is so am struggling to actually see the data! Any tips?

3 comments

Is there an example in the docs that just shows `examples.sales`? If so please let me know and I'll fix it. I searched and couldn't find such an example (though maybe, through the "magic" of Chrome's service-worker, got an old version of the website). As mentioned by Kevin `()` or `_data()` is what you need.
try: example.sales()

it's shorthand for: example.sales._data()

For the future, learn to use dir().