I Got The News

I Got The News

Darling if you only knew, half as much as everybody thinks you do…
— Donald Jay Fagen / Walter Carl Becker

Yes, yet another Python project named after a song.

Unlike Where It’s At, this data collection project is named after an unfortunate Steely Dan disco meets doobie brothers song called I Got The News on the otherwise stellar Aja album…


list comprehension in python

Old Dog’s New Tricks – List Comprehension in Python

If you were trying to come up with a list of iconic programming idioms, “For Loops” would probably make the cut.   For someone like me that learned about loops via COBOL’s crazy “Perform” loop syntax – changing paradigms (yet again) can sometimes prove difficult.

I was attracted to Python initially because it is different.  So I have done my best to leave my preconceived notions about writing code behind as I embraced the challenge of becoming an effective Python coder.

List Comprehension proved to be a concept that I had to invest more time into studying than other Pythonic approaches.


Pandas DataFrame

Putting Python Pandas DataFrames Together

If you have worked with Pandas for any length of time you have probably come across the need to stick a dataframe together with another dataframe.  It turns out it’s not as simple as you might think.

I’m going to show you a couple of ways to accomplish putting one or more dataframes together in Pandas depending on the situation and desired results.


python pep8

This Weeks Obsession: PEP 8

One of the reasons that I was initially attracted to Python is that it is beautiful.

If you’ve never stared at lines of cryptic Perl and scratched your head trying figure out what is even going on, you might not understand this.

If you have never gronked through hundreds of lines of html that works but was written by someone that has never heard of semantics or a validator; I’ll forgive you for thinking my opening sentence is hyperbolic.

For those of you that understand that code is poetry, read on…


And…. We’re Back!

Hey Now – I am happy to be writing you from the new home of this website – you may have noticed some changes…

Without boring you with the details tripkendall.com has been moved from the hosting provider that shall not be named over to where the other sites are hosted…  Hopefully I will get it hooked up to CloudFlare and the remaining issues cleaned up today.