{"id":12,"date":"2022-12-11T20:10:48","date_gmt":"2022-12-11T20:10:48","guid":{"rendered":"http:\/\/waigen.com\/?p=12"},"modified":"2023-03-24T02:24:37","modified_gmt":"2023-03-24T02:24:37","slug":"python-tips","status":"publish","type":"post","link":"http:\/\/waigen.com\/index.php\/2022\/12\/11\/python-tips\/","title":{"rendered":"Python Tips"},"content":{"rendered":"\n<p><a href=\"https:\/\/towardsdatascience.com\/creating-and-using-virtual-environment-on-jupyter-notebook-with-python-db3f5afdd56a\">virtualenv and notebooks<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=uqRRjcsUGgk\">etl in Python<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=IAvAlS0CuxI\">virtualenv<\/a> &#8211; pip list, pip freeze, requirements<\/p>\n\n\n\n<p>When you want to concatenate strings in a group by, <a href=\"https:\/\/stackoverflow.com\/questions\/27298178\/concatenate-strings-from-several-rows-using-pandas-groupby\">use the transform function<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/1592565\/determine-if-variable-is-defined-in-python\">Testing if a variable is defined<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>virtualenv and notebooks etl in Python virtualenv &#8211; pip list, pip freeze, requirements When you want to concatenate strings in a group by, use the transform function. Testing if a variable is defined.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":5,"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":19,"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/posts\/12\/revisions\/19"}],"wp:attachment":[{"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/waigen.com\/index.php\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}