How Data Scientists Level Up Their Coding Skills

TDS Editors
Towards Data Science
3 min readOct 27, 2022

--

There are many paths into a data science career, and not all of them involve a strong programming background. When we hear data practitioners second-guess themselves and their abilities, a recurring theme is code: “Am I even a real data scientist if I don’t know how to [insert your own perceived coding shortcoming]?”

Well, yes, you are! Nobody knows everything; all we can hope for is to recognize the gaps in our knowledge and to find an effective way to tackle them. This week’s highlights are here to help you in your coding journey: each of them approaches the (vast) topic of programming for data science from a different angle, and each offers different types of actionable takeaways. Enjoy!

  • What is good code, anyway? Sergey Mastitsky’s excellent introduction to coding best practices is thorough, accessible, and detailed. It’s also a useful reminder that writing clean, clear code isn’t about showing off your technical prowess, but rather about generosity and empathy towards your colleagues and users.
  • Master the essentials of logging. Another crucial aspect of being a dependable teammate? Ensuring there are good logging calls within your code so that it’s easy to debug. Kay Jan Wong’s primer on logging goes from basic functions all the way to more advanced and specialized ones, covers common issues, and includes a full implementation in Python.
Photo by www.zanda. photography on Unsplash
  • How your Python skills can streamline your workflows. Staying on the practical side of things, Rebecca Vickery walks us through the ins and outs of three Python libraries—Lux, Pandas Profiling, and SweetViz—that automate the routine task of profiling data (an important first step in any data-science analysis before you apply other techniques).
  • It’s never too late to change course. Ken Jee recently shared helpful advice about learning to code, centered around the different decisions he would’ve made with the benefit of hindsight. One powerful lesson from his article is that no matter where you are in your data science journey, you have time to adapt the way you develop and grow your skills.

We hope you have some time left this week for a few more of the excellent posts we published — it would be a shame to miss out on these!

Thank you, as always, for the time you spend with our authors’ work. If you’d like to show your support in other meaningful ways, consider becoming a Medium member.

Until the next Variable,

TDS Editors

--

--

Building a vibrant data science and machine learning community. Share your insights and projects with our global audience: bit.ly/write-for-tds