Group Abstract Group Abstract

Message Boards Message Boards

NEW book by Seth J. Chandler—Query: Getting Information from Data with the Wolfram Language

POSTED BY: Paige Vigliarolo
6 Replies

POSTED BY: Dave Middleton

Thanks for the question! I'll let Seth Chandler know, but in case he doesn't get a chance to answer before the webinar, feel free to bring your question along this Friday!

POSTED BY: Paige Vigliarolo

Thanks for the question. I hope you are able to attend the Webinar. As an initial matter, something is strange with your code. In response to this:

Query[All, KeyDrop["class"]]@titanic

You are getting an answer that is grouped by class. Perhaps you could submit your entire notebook.

One quick point, though.

KeyDrop[#class]& is not a correct operator. You can see this by running the following

f29 = Normal@titanic[[1]]

This gives us a single Association. If you now run

KeyDrop[#class]&[f29]

You get KeyDrop["1st"], which is not what you intend.

POSTED BY: Seth Chandler

Dear Seth,

Thank you for your reply.

My apologies, the GroupBy operator went missing after copy-paste and I discovered that my first example was invalid. I will replace and rephrase my question as a notebook.

I will join next Friday's webinar 15 minutes later. Looking forward to seeing you there.

POSTED BY: Dave Middleton

Wolfram U is pleased to welcome Seth Chandler as featured speaker at an author talk on Friday, December 8, 12pm CT. It's free and online! See details and reserve your spot here: https://www.bigmarker.com/wolfram-u/query-book-author-talk-seth-chandler

POSTED BY: Jamie Peterson
Posted 2 years ago

Thanks for sharing and thanks to Seth Chandler for writing this book. I was awaiting the completion of this book :)

POSTED BY: Dave Middleton
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard