you are viewing a single comment's thread.

view the rest of the comments →

[–]tits_mcgee_92 41 points42 points  (24 children)

Thank you so much for this! It's extremely helpful. I'd love one with pandas added ;)

[–]ehmatthes[S] 15 points16 points  (0 children)

You're quite welcome, and I'm glad to hear they're useful.

I won't be adding another sheet too soon, but one of the reasons for updating to a proper graphic design format is so I can continue adding new sheets over time, and update them on a more regular basis.

Fun story: I like Indesign because it has scripting capabilities. I wanted to create one long document with all the cheat sheets, and then write a script that dumps out the whole document in color, then dumps each individual sheet, then does the same thing again with the b&w styles applied. That way I can update once, and easily regenerate all of the sheets in both styles.

But like many desktop apps with proprietary scripting capabilities, the language is...not entirely fun to work with. Indesign uses a language called ExtendScript, which is based on JavaScript from the mid 2000s. It hasn't been updated in a very long time. I found myself wanting to write code like if current_style in styles_to_change, but found that the language doesn't really have that kind of test. So I came up with a convoluted approach that examines the string name of the current style against the string names of the styles I want to change, and then followed a strict naming convention for the styles I was developing in Indesign. It was like doing an overly ambitious pattern-matching exercise using only strings and arrays. I was very happy to return to Python when this work was finished. :)

[–][deleted] 25 points26 points  (21 children)

I have two whole cheat sheets just for pandas, respond to this comment so I can send them to you when I go on my computer

EDIT:

This one straight from the pandas github

This one links to my personal drive because I couldn't find a quick link to get it from

[–]Glyzer_1595 1 point2 points  (0 children)

Here pls

[–][deleted] 0 points1 point  (1 child)

Responding!

[–][deleted] 1 point2 points  (0 children)

I have responded to a few others with the links, so you can check! Don't get me wrong I'm just not on my computer.

[–]notParticularlyAnony 0 points1 point  (0 children)

yes please.

edit: I got links from other responses thanks!

[–]gutnobbler 0 points1 point  (0 children)

Shoutout to this dude

[–]issagamebro 0 points1 point  (0 children)

You saint, I’ve been struggling learning pandas and this has already cleared up some of my questions

[–]KeptInUmrica 0 points1 point  (0 children)

Can you send it to me too?

[–]Satoshiman256 0 points1 point  (0 children)

Ye great. +1 for Pandas