{"id":2057,"date":"2022-03-04T19:35:14","date_gmt":"2022-03-04T19:35:14","guid":{"rendered":"http:\/\/blogs.ubalt.edu\/legaldatadesign\/?p=2057"},"modified":"2022-03-04T19:52:05","modified_gmt":"2022-03-04T19:52:05","slug":"how-coding-can-make-life-easier","status":"publish","type":"post","link":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/how-coding-can-make-life-easier\/","title":{"rendered":"How Coding Can Make Life Easier"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2059 aligncenter\" src=\"http:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/640px-Python-logo-notext-300x300.png\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/640px-Python-logo-notext-300x300.png 300w, https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/640px-Python-logo-notext-150x150.png 150w, https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/640px-Python-logo-notext-510x510.png 510w, https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/640px-Python-logo-notext.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When the average person hears the word coding or programming, they think of people who sit behind computers all day, staring at a blank screen, viewing random numbers cascade across the screen like a scene out of The Matrix. However, this is not the case\u2013learning code is doable and will save time on matters that are tedious and repetitious. Python allows you to do just this by giving the user tremendous flexibility when analyzing and presenting data.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, Python can be used to make graphs without having to shift from section to section and without trying to figure out how to manipulate the data in just the right way to accurately reflect what you\u2019re trying to present<sup>1<\/sup>.<\/span><span style=\"font-weight: 400;\"> Simply put, Python is customizable to each user and requires very little code.<\/span><span style=\"font-weight: 400;\"> Unlike Excel, Python protects your original data while also allowing you to manipulate it. For instance, dropping columns or changing the name of columns doesn\u2019t affect the original data. This is incredibly useful when multiple people are using the same data source because each person can simultaneously run code particular to their needs without affecting the other person.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> In reality, writing code is similar to writing a paper for a class\u2013 each writer can write on the same topic but each paper will have certain differences. These differences are what make a paper unique to the writer. Coding is similar but instead of writing a paper, you\u2019re writing code. Just like writing a paper requires the writer to know how to\u00a0formulate a sentence, writing code requires a user to have some familiarity with coding language and be able to formulate code that can answer a question.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2058 size-large\" src=\"http:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/Screen-Shot-2022-03-04-at-1.55.45-PM-1024x94.png\" alt=\"\" width=\"1024\" height=\"94\" srcset=\"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/Screen-Shot-2022-03-04-at-1.55.45-PM-1024x94.png 1024w, https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/Screen-Shot-2022-03-04-at-1.55.45-PM-300x27.png 300w, https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/Screen-Shot-2022-03-04-at-1.55.45-PM-768x70.png 768w, https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/Screen-Shot-2022-03-04-at-1.55.45-PM-1536x140.png 1536w, https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-content\/uploads\/sites\/1164\/2022\/03\/Screen-Shot-2022-03-04-at-1.55.45-PM-2048x187.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><sup>2<\/sup><\/p>\n<p><span style=\"font-weight: 400;\">Just like with any new skill, coding takes practice and you must be willing to make mistakes for they will undoubtedly happen. Sometimes, these mistakes will \u201cbreak\u201d your code. But, in reality, \u201cbreaking\u201d code is not as bad as it seems. It just means there is an error somewhere in the code, whether it\u2019s as simple as a misspelled word or as big as asking Python to do something that isn\u2019t actually doable.<sup>3<\/sup> For most things though, there is usually a solution. You just have to be willing to challenge yourself to figure out what happened (note: Google can be your mistake\u2019s best friend). Personally, the most exciting (and sometimes annoying) part of using Python is discovering what the error means and then trying to fix it.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As someone who has always been into computers, taking a class in coding was really helpful in grasping the basics. Both Coding for Lawyers and the Legal Data and Design Clinic (LDDC) have been some of the most fun and interesting experiences I have had in law school. In all aspects, while learning to code with Python can be challenging, once you are willing to embrace the fact that mistakes will happen, learning to code will create many opportunities to make life easier in a digital age.<\/span><\/p>\n<hr \/>\n<p><sup>1<\/sup><a href=\" https:\/\/pandas.pydata.org\/docs\/user_guide\/visualization.html\"> https:\/\/pandas.pydata.org\/docs\/user_guide\/visualization.html<\/a><br \/>\n<sup>2<\/sup>Python code to drop unnecessary columns<br \/>\n<sup>3<\/sup><a href=\"https:\/\/towardsdatascience.com\/6-mistakes-every-python-beginner-should-avoid-while-coding-e57e14917942\">https:\/\/towardsdatascience.com\/6-mistakes-every-python-beginner-should-avoid-while-coding-e57e14917942<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u00a0\u00a0\u00a0\u00a0\u00a0 When the average person hears the word coding or programming, they think of people who sit behind computers all day, staring at a blank screen, viewing random numbers cascade across the screen like a scene out of The Matrix. However, this is not the case\u2013learning code is doable and will save time on [&hellip;]<\/p>\n","protected":false},"author":5513,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/posts\/2057"}],"collection":[{"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/users\/5513"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/comments?post=2057"}],"version-history":[{"count":12,"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/posts\/2057\/revisions"}],"predecessor-version":[{"id":2327,"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/posts\/2057\/revisions\/2327"}],"wp:attachment":[{"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/media?parent=2057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/categories?post=2057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ubalt.edu\/legaldatadesign\/wp-json\/wp\/v2\/tags?post=2057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}