Decoding Love

Decoding Love

Learn how to build automation - from the basics up to reliable pipelines. Learn to solve data automation challenges with code 🚀

Episodes

  1. Knowledge management

    04/01/2025

    Knowledge management

    Welcome again to the next episode of Decoding Love. Hey, I have Dina here with me. And today is again a special series. On the weekend we were talking to some friends about knowledge management.(...) And also Dina had questions of how to efficiently store information. To retrieve it to easily find it again. So let's dive right in. One of the tools that can help with managing knowledge is a software that is called Obsidian. So what is so particularly interesting about this software is that it allows to connect the sort of missing pieces between nodes. And unlike Notion or a lot of other productivity software does not force you or lock you into a specific vendor. So this is just plain text files with a little bit of structure that you can have air gap on the specific systems that you want, where you want to have it.The interesting thing is that Obsidian works heavily with this graph and allows you to connect the nodes.(...) And yeah, we will experience together in a minute how this works. And the best part about it is I have set up the template so you can follow along easily with us and store your knowledge in the future in a similar way. So what we see here on the screen. Is the software that is named Obsidian. You have here on the left side possibility to make it small and few. The files in a couple of different ways, in particular of a nice mode of searching. And you can later explore the graph, but we will come to this in a minute. So, first of all, how can you create a new node? Well,(...) usually if you want to create nodes in a structured way, you might want to store meeting nodes somewhere somehow. And you might have daily nodes.(...) Hier, du siehst die daily node section. Es hat ein paar Template Fragen, also du kannst natürlich die Template wie du siehst. Und das wird auch zu generieren. Interessant, die node, die wir haben, oder die wir heute geöffnet haben, sind also direkt Teil dieser Überflügel. So, wir geben jetzt eine Meetingnode. So verdeckt, Also, da ist eine Possibilti zu Pollack, so below, um, und einfach Kontrolle an zuiance. Meeting wateringless sp 드�io, um Nunstira, mit dem Bild kommen wir zu unseren ersten Also was das hier undクローボ ang~! Er ist ein bisschen un discrete. Aber ich glaube, wir...'s(...) Ich也 customise es als Klang-Gebü flop. Inhtaking wie, wenn du objetos command. Pay..(...) Du getest diese Voile, wo du den und hier wollen wir eine neue Person adden. Denn Dina war selektiert, die neue Person Dina hat bereits geplant. Wir können hier alle Details, die ich über diese Person storeb, adden. Und interessant ist, dass ein paar Konnexionen automatisch geplant sind. Dina hat zum Beispiel in der Meeting, die wir gerade geplant haben, hier zu beantragen. Also, um die Konnexion einfach zu connecten, die Knowledge in den richtigen Spanien, wir können, ja, arbeiten smarter. Und wie geht es Ihnen? Wir können hier ein bisschen der Query-Language, die ich automatisch hier automatisch vorbereiten, um die Details zu connecten. Aber man kann sie customisieren, wie Sie sieben. Wir können hier auch eine neue Person adden, Georg. Wieder, wir gehen zu dieser QuickAdd-Screen, machen eine neue Person, und hier gehen wir. Für das Zeichen des Examples, ich werde wieder skipen, mit additionen Details, aber ihr könnt es dir vorstellen, ein traditioneller CRM System, wo ihr viele Artikel wie ihr wollt, und ihr könnt auch mehr adden. Und ihr könnt auch die Template ändern, wenn ihr eine bestimmte Artikel wie ihr hier wollt. Und wieder, seht ihr den Link hier unten. So far, so gut. Also, wir können hier einen Agenda haben, und sagen Introduction to Obsidian, und ja, wir können hier einen bestimmten Noten machen. Aber es geht um eine Meeting-Einheit, nicht nur mit einer Diskussion und keinen Ausgleich, aber hoffentlich eine bestimmte Füße, Tatsache oder eine Entscheidung. Also, wenn ihr die Tatsache schreibt, dann machen wir eine Tatsache, und wir können die Tatsache schicken. Aber was auch mehr interessant ist, ist, dass wir eine Tatsache,(...) dass eine Tatsache, die eine bestimmte Füße ist,(...) eigentlich habe ich ein Projekt, namens Tests, und wenn ich das Tests zu bemerken habe,(...) in dem Namen des Tasches, dann ist es ein Tracht.(...) Also, wenn wir das Projekt öffnen, dann schaue ich hier, weil ich vergessen, wie ich das Foto namens. Also, ihr seht, wie man es finden kann. Es ist ein Testsprojekt, und das ist der Tag, der für ihn gebraucht ist.(...) Und wie ihr es sehen könnt, kommen wir dazu los. Also, erstmal will mir dieetaanter surgeries von TS & gibt ja manchmal dass Line, die dem Wiegel stecken. Wir haben damit illusionsgazanzenen, DNA,(...) Bei den individuellen Noten können Sie die Task Radviol هنا direkt genau vorne sehen. Sie können damit viel parkeden nach 아까 und mit verzentraliser Seiten Sachberater, damit sie wie Nature Deevorgang biedern. Im ersten Signal required an der du willst.(...) Also, wenn wir hier zurückkommen und sagen, dass wir diesen Task etwas tun, ist etwas, was Dina soll tun. Okay, ich werde etwas tun. Du wirst sehen, dass Dina hier etwas tun würde. Und das Interessante ist, wenn wir sagen, es ist fertig und wir schauen es hier auf und die Überflügel. Also, wir sehen, dass es hier fertig war. Wir sehen, dass es hier fertig war.(...) Und wenn wir zurückkommen, sehen wir, dass es hier fertig war. Das ist eine sehr breite Überflügel-Session. Wir haben auch andere Typen von Noten. Wir haben eine Linkliste, weil wir manchmal in den Literaturen, wo wir etwas auf die Web oder Books, die du mit Kollegen mitbekommen willst, finden. Und ich habe auch eine andere Typen, die called Ideas. Ein paar coole Ideas, die du in deinem Zukunft versuchen willst, um dein Projektarbeit zu verbessern oder etwas deiner eigenen. Ich finde es wirklich gut, um Ideas zu halten, als auch. Das Geste von Obsidian ist, dass es so viele Plugins gibt. Wir haben auch einige in Aktion gesehen, aber es gibt so viele mehr, also AI und NLM Plugins, und hemisphere dazu, aber da gibt es schon mal eine weniger off scutische neue�서 in fourth and fifth. Und bevor ich dir den Graph zeigen, ich denke, da ist etwas, was vielleicht von dir interessant sein könnte. Denn letzte Zeit habe ich mich erinnert, dass du einen Herausforderung hattest, wenn du ein paar custom Charts für Powerpoint daraus holst. Das wäre auch sehr schwierig, wenn du die Handdrucker endest.(...) Und ich glaube, da sind bessere Optionen. Also, in dem Fall, du könntest einen X-Kali-Druck machen, einen neuen Druck. Also, was ist X-Kali-Druck? Also, was ist X-Kali-Druck? Das ist ein Plug-in, aber das ist eigentlich etwas für Druck. Also, du kannst Boxen, Zerkel, sie connecten,(...) einen Arrow machen, du kannst die Colour schön schämen und sagen, dieser ist ein bisschen blüht. Was ist die Unterschiede zwischen diesem und, beispielsweise Powerpoint oder der Druck? (...) Also, eine Unterschiede ist, dass du diese Code in dem Background und Chat mit LLM helfen kannst, um dich zu drucken. Also, es ist sehr viel mehr konvenient als drucken. Wie viel Programmationslangen musst du da wissen? Nein, die LLM wird es für dich ziemlich viel machen. Und was anderes, ich finde es viel, viel schneller, hier zu drucken. Und unlike Powerpoint, where you have a locking on a per-page basis,(...) here locking, good. So, if you have Powerpoint open on SharePoint and two people editing the same Powerpoint, you cannot actually collaborate on the same page on the objects and move them together. Like Powerpoint will lock them, so you cannot actually select and move them. But here in X-Kali-Druck, you can in real time actually collaborate and draw this thing together with colleagues. And the interesting thing is that the X-Kali-Druck instance that you're looking at here(...) is not only isolated. So you can install a certain list of plugins that allow you to create a canvas that can be shared via a link with colleagues. And then you can store the X-Kali-Druck painting on your laptop, but you can share the process of painting with your colleagues in real time. And I think this is super powerful. Und once you're finished, you can always export an image and add it to Powerpoint if you want to have it. It's already nice, I see that it's interactive, not like in Powerpoint, that it doesn't move with it, with the object, that's nice. Yes. (...) And I personally really like this hand-drawn style, so you can select how curvy or edgy it is. And here is more, that's what you know from Powerpoint, and this is more sketched. I personally really like this sketched style. Anyways, what I wanted to show you was a graph. So let's check out where we find the graph. It's actually here in the left side with the graph view. So let's open the graph view, and you can see already, we have the nodes that are part of our graph here. It's just a pretty empty world, so there's not so much going on, not so much structure to discover,(...) but you can shade and style the nodes as per your specific node types, or filter out by specific tags or keywords, so even if you're storing massive amounts of knowledge, it should be quite easy to discover that again. This is sort of a very short overview of what I wanted to give you, Dina,(...) but what you can see here is storing pretty much a customized CRM system with some additional customer relationship management system. So, so you can, I mean, this is about storing these contacts, so colleagues or people that you're interacting with, the meeting nodes and the additional node types, like the daily nodes, the ideas and the links. If you have any questions, please feel free to ask me in the comments below. One question, like when I have reached a state, when I have a lot of information stored here, if I don't specifically note somewhere that this is what I want to see in the graph and this please don't include, then in this graph everything will be included, what's stored. Yes. And at each s

    19 min
  2. No-Code data collection

    03/19/2025

    No-Code data collection

    Welcome back to Decoding Love. It's been a while, but we're working on more content. Today is a special edition. So we will pause for a minute where we have sort of stayed. We will pause with basics. And today will be a special edition focused on data entry and how you can do this in a scalable, efficient way. And then, in one of the next editions, we will continue with the basics. I like your smile. So let's get right to it. Let me pull up the example that I have prepared here. And actually zoom in and make this much, much bigger. Dina,(...) I also need you here. You recently approached me that you faced some issues with your data entry. So that you have certain things that you care about, but that you are not finding them in an easily accessible way. For example, you were talking about tasks that are spread across many Excel sheets.(...) But you might have also machines or big projects or just back office processes where you want to record some information about certain items.(...) And what I have prepared here for you today is something that can actually help you solve such topics rather easily. So let's jump right in. We have a move us over into the corner and make this here big. What are we looking at here? Actually, let's go to the other corner so you can see it better. Well, what we're looking at here is something that is called a no code, low code database tool or backend as a server solution. Everyone of you probably has heard of Microsoft Office and some people know Microsoft Access for database. And a lot of people with an IT background are a bit scared of access because people build applications in there that are very hard to eventually transition to a more proper IT process or proper database. Imagine you had something like access,(...) but with the means of in the background interacting with a proper database and also giving you a proper machine readable API on the fly without any extra work. How would this be? Well, let's just start here. So, Dina, I ask you now to just operate this. It's actually the first time Dina is taking a look at this interface. So bear with us. It will be fun. And I will ask you to help me to join me here in building actually your new application from zero to hero in a couple of minutes.(...) So let's get started. Please take the mouse and click create collection. So for starters, we will create collection.(...) Do you want to do something with tasks or do you have? I actually had one idea. Machines that we want to collect here. Machines. I had one idea. I don't know whether it's possible or whether it makes sense. But for example, if many people are working on one, I'd say Excel. Yeah, one idea. And if I create a version for myself, because it might be that I make the most amendments and then other colleagues are working on the other version where they just put their comments in our scheme, what we currently have. And then we get another version from some external with their comments. So they are scattered. Would this apply for that? Yeah, we can try this.(...) So let's give it a name.(...) If you want to collect tasks, we will probably name these tasks.(...) Maybe it is nicer to give it lowercase letters, but both would work. Looks nice. And yeah, from a database perspective, like we still have some matter, but you will have an easier life later if you select this option here instead. Because of this particular task, particular application, or there is another reason I don't need to understand it now. We need to understand it now. But basically, if you want to create a copy or backup clone of this data that is stored in the system, it's much easier to just get the unique values instead of an incrementing value of the state of the increment stored in the database. But that is nothing we have to care about for today.(...) Anyways, so we can select a couple of fields which we may want to have. Let's say, for example, a status field. We want to be able to sort this thing, and to store who created the task and when it was created, and if it was updated and who updated it, we serve the basics. Okay, so that's quite boring. Let's create our first collection. So what has happened behind the scenes, a table in the end of our database was created. In fact, the tool that we are using here is Directos, and it is a backend as a server solution, and it allows us to flexibly plug in any database from your self-hosted Postgres database or MySQL database or something else to a more cloud-native database. What we are currently using here is something that is running on my local computer, and I will explain later how you can run this also on your own. But for now, we want to focus on the use case of DINA of saving certain information. Okay, we have already a task. Well, we don't know what this task is about.(...) So can you add a field so we can store information about, let's say, maybe it's task title and task description? What do you mean? Just click the create field button here. Do I need to amend something here? No, just click the create field button. Now we can create a new field. So perhaps you want to have a title about the task. So if a short summary of what the task is about. So we would just select the input box and say we need a new thing where we can store this. We could give it a short thing like summary or title. We don't need to prefix it. You could just give it name, for example. What do you mean? You don't need to write task underscore name. You could just write summary or just short description or name. Name.(...) That's the same. Okay. Yeah, it's the same. And we can say, ah, this is my L you must actually be set. And there's no placeholder or anything. What do you mean it needs to be set? Well, it should not be empty. Okay. We always have to store name. And this is interesting because let's say if you do this in an Excel sheet, you cannot set certain constraints, right? People are very flexible in what they can enter. And if you later want to work with this, it's very tricky because it's not super structured. Okay, let's save this. We want to store a bit more.(...) Let's say the description. If you want to store the description, what you can go for is, for example, a text editor, because you want to store the description. So let's select an input. We are also inputting text. That's right. It's a good question. The difference is that in the text from input is just a plain text without any formatting or layout information.(...) If you here go for this, what you see is what you get editor. Let's name this description. We get a proper, let's say, text editor like a note from the word. And we say that must also be said it should not be empty. And let's save this. And let's briefly take a look at how this actually looks like. So if you go here on the side, we will see we have the tasks and that's create a task. But now we are creating the task only with this description and the name. Yes, let's start. So we can call this maybe test. Yeah, I have a full effect. Test. Yeah, I'm a bit nervous, right? Okay, fill in. Actually, let's make this more nice. This one should be something big and something small as well. Cool. So let's save this. For now, it's status draft. And now we end up with this thing here. We can always come back to it. So my question is, do we want to store something in addition to these things? What do you commonly need to also store? Sometimes you need a link. Linked to another task. No, I mean link in the description maybe to easily find it afterwards that you don't need to search. But you have already a link to your document, for example. Okay, yeah, this is something we can do. So let's go back to our data model, to the task and change this. Let's add a new link here. Can you say create field? But it's the same thing we did before, yeah? Okay. It's the same thing we did before, exactly. So we have different types of fields. We have, for example, the possibility to search for tags.(...) We can have other things like a date, for example. You can enter a specific color, that's a due date of the task. Maybe we need this as well. You can even have checkboxes. You can have a dropdown.(...) And we can infer also, let's say if you have tasks, you want a reference to a parent task. You can also create something like this. So you can connect one task with another task. Say, first of all, I have to finish task one. Then we can finish task two. I think we need all of this, what we just said. And then there is also the possibility to have some, I guess, file upload. You can say, I want to directly upload a document, for example. It would be actually stored with this system.(...) But you can say, it's already hopefully not just an outlook in an email, but somewhere else. And instead of uploading it here,(...) we could just basically make another text input and say, this is the file path. For simplicity, we may for now assume this is the file path. This is okay for you. How do you prefer to upload it? Yeah, file path is good. But I wouldn't put it on required, because sometimes you have a symbol you don't have. That's totally fine. You can even give it a cool icon, but for now, let's just skip that. Okay, we have a file path now. And we said we want to have a due date. So here, let's select a due date. And we say this must be set. Can't be empty. Is that okay? Or sometimes we don't know. Sometimes we don't necessarily have a deadline, you know. Okay. So let's skip this. And yeah, actually, the format that we need is just a short form. And we don't need seconds or something in too much detail. Let's also add this due date. And now we also want to have this parent. So it's not called relation. But here we have groups maybe. Yes, we have it here. Some of them have relationship that we can say one task can depend on. Many things can depend on a single one or with the versa. Many to many or one to many. So let's just test this out so you see the difference. One to many. W

    33 min
  3. Overview

    12/13/2024

    Overview

    So you can reverse it and you can get multiple ranges. We call that slicing. So you get a string slice, that means you get a particular-- I would rather have a cake slice. time, I hope you remember, so finally go now. We've been trying to look into, like, why does it make sense and how easy it is to get started with doing something with programming. And now, the idea is to start with the basics and then really get something going. So I have prepared a couple of slides and want to go over them together with you. In order to do this, let's jump right back. I think that's better like this. So the picture that you can see here on the screen, that snake, this is actually the symbol of a Python programming language. And Python has a specific philosophy. Basically, you can import this, and then you see the philosophy. Instead of reading it here on the slide deck, I think it's much more interesting to explore this directly hands on. OK? So let's move back where we started last tim We were exploring the tool PyCafe as an easy place to get started writing some code. Can you take over the control and you basically-- drive what I'm telling you to do. So let's click the Streamloot app as last time. And instead of basically starting the Streamloot app here, let's simply actually delete everything and simply type print hello. Now if we rerun this, we should very soon see the output. In fact, should show it to us. Exactl Here in the corner, we see the result. So simply typing print hello will basically allow us to do something. So you mean on the left side we have our comments, and on the right side we see result Yes. OK. So instead of typing here print hello, can you import this like we have seen here? Import this? You mean what? Can you type this import this? Import this here instead of hello? No, instead of everything. So delete everything her And now type import this. And import this. you import this special module, this you basically can get in touch with this then of Python. So this because Python is this? Therefore, we get like the-- It's a joke, but it makes a lot of sense. And basically, you can see these items would make Python special. And then basically, beautiful is better than ugly. And explicit is better than implicit. And simple is better than complex. items that make Python very, very useful, in particular, to newcomers like you are. So the idea is actually to have something that is readable, simple, and gets the job done. That allows you to solve your problem. And the idea is that even special cases should not be especially enough to break these rule And that it should basically be better to solve a problem now than never. So the idea is that the human is more important than basically the computer. So the idea is that there is no need for hand optimizing the low level code. But basically, it is good enough to write the high level, easy to understand Python code. The rest should work just fine at least as long as you don't try to do something crazy. But for the start, that's not what we're up to. In different programming languages, for example, in Java, you may need a lot of boilerplate code. What about code? Boilerplate code, so stuff that you're actually not really interested in order to type print in Java. You have to write all of additional text here as wel But in Python, as you have seen before, you can simply type print and the text, and you're basically finished. So it's much more concise. So it requires less boilerplate code. Or in other programming languages like C++ here, it also takes a lot of additional text. However, in Python, as we have seen before, it's simply exactly what you want to say as a human being. So there's no need for this boilerplate to make the computer understand what you want to do. It's basically better to always include everything simple. mean, the same thing. We could also print, let's say, print 1 plus And the output that we get-- Yeah, would it be 2 or 1 plus 1? OK, OK. So in terms of words, it will give the specific word we type in, and in terms of a calculation or function, it gives the result, yeah? Yes. you can use it to write a comment. So then we basically add this here. Computer will not execute this line. So we can write, this line is not executed. And we can add additional context, but another human that should read the line needs to understand. Maybe you have made certain assumptions. And then you can state them here so that another human who is working with this can easily follow them. So it won't be visible in the result part. It will be visible only in the comment part. Yes, it's only visible in the raw source code. It is not visible in, basically, the output. So there are different types of comments that you should be aware of. You have these single line comments with a hash or pound symbol. And then you have multi-line comments. Multi-line comments are convenient if you want to document something longer. But why is there a difference? So why? Because basically, the computer's amaha is to understand that the comment is longer than a single line. And you have to tell the computer, ignore whatever comes between these particular symbols here and just treat it as a comment. OK, so with hashtag only one line comments? Yes. OK. We have briefly touched upon variables last time with the input and the slider. But what is a variable? Basically, it's a thing that has a name. Not so hard. So we can say the thing is named x, and the value is 2, for example. Let's do this in Exploit Hands-On. You want to add this here? What exactl A variable? Or what exactly? Because there were different types of them? So we can say x equals 2. So one question before that. So always between those characters, we need to put a spac No, it's just nicer to rea OK. So you can also type it like this. But it's not as readable. In fact, later on, we will touch on tools that help us automatically format the cod They clean it up according to specific coding standards that some people agree on, that it looks nice. OK, but space, it doesn't matter. It doesn't matter. Maybe in some-- What you want to do, but in general, it doesn't matter so much. OK. And here we can, for example, interact with it and multiply it. And then we will eventually get some outcome, but only if we print it. Otherwise-- So to get the out, yeah? Otherwise we don't see it. OK. So what about other actions or calculations? Every time we want to see this result, we need to put print befor So print is just to define that it will come into output, section or not? Basically, yes. In the future, we'll see a couple of other options to do it as well. But for the start, this is the most straightforward approach to see something. OK. So you just had print and then the thing that you want to look at and then you will see the output. And we can do these operations, like adding something, assigning something with numbers, with text, with pretty much anything that you can think about. We can even do this with code itself, so something like a function. Whereas computing something, we can even assign that one to a variable and then do something with it. A whole function, OK. And some programming languages explicitly require you to set some type in Python. This is not necessary, as we have seen, right? What did it mean with my typ So some programming language requires you to specify that x is a number. But here, as you can see, we don't need to do this. So this, again, makes the code very readabl Imagine pen and paper and some math code that you want to crac Python is pretty similar to that. So there's not necessarily so much additional fluff around it. That can be needed for simple things in particular. However, types are not gone. Types are still her So if we ask a computer what is the type of something, we will actually get it back. So if we go here and type-- you want to look at it, right? Print type of, let's say, x. And we will see the output is a class. And the computer understands on its own that this particular class is an integer or numbe Integer is basically discrete numbers, like one, two, three natural counting numbers. And then the computer inferred this automatically. There are means in Python to explicitly assign a typ And that can be useful in certain scenarios. But for the star we will omit them for the sake of simplicity. But when you build larger amounts of software, it can make a lot of sense to add them in. Because basically, types are like a kind of contract. And when you and I have a contract, and we have a handshake, and say, we agree on something, then it's easy if you maybe write it down and if it's not only verball And the same goes for the types. It's easy to check later what the contract was about if you write this down with the types. And with that, let's dive into a little bit of numbers. Wel we can do basic calculator things with numbers by simply assigning the basic calculator symbols and then that just works. Let's not take too much time for this and rather explore it later hands-on. Because I think that's quite clear for you. What is maybe less clear are things where the normal calculator doesn or here the model or operator or some exponentiation. We might have different, let's say layouts, these types of functions on your normal calculator. But the basics ones are probably clear. Boolean values, are values that either true or false. And we can have some algebra around them as well and then have calculation Or we can check certain values of them. Like for example, here we can multiply them and see that the result is not true. Can see that some other result might be true. This allows us to check conditions. So in the past, we were talking about this example, right? Where you have specific data sets and maybe an energy plant is reporting their kilowatt hours. One of the preconditions might be a check that this is actually kilowatt hours, not kilowatt minutes or watt minutes or something else. But a specific ty

    39 min
  4. Overview

    10/30/2024

    Overview

    Today we start with a couple of motivational basics and then we will move on and get deeper into coming sessions. I'm really curious because I don't know what we're gonna do now. I guess that's a good start. So, welcome back at DecodingLove. I guess that's a good start. So, what is Python all about? Well, Python is a programming language. It is used wideley. Learning python as a beginner It is super easy to get started with as it can get you going very quickly. So, as you can see here on the screen, we have a variable that we are assigning. We can interact with it. We can assign some numbers. We can print items. We can iterate over them. We can even have functions. In the coming weeks, we will explore how you can do this yourself to automate your business problems. We will be working in the ecosystem about Python and data, the PyData ecosystem. And you will over time explore more and more tools there. At http://decodeinglove.tv there is actually a blog attached. Over time, we will try to have content with videos there in the blog and also on the podcasting website for easier consumption. We still have to build this out. I hope you bear with us whilst we get started with content creating. And that you will enjoy the show and the learning and grow alongside with Dina. So, we were talking about the PyData ecosystem and let's jump right back here. Dina, can you let the welcome banner move away? Okay. This first stream is private, but eventually you can join us live on YouTube. We will add your comments like this one, for example, to the show and then discuss it and hopefully also answer your questions as they come up. We were talking about the PyData ecosystem and the DecodingLove.tv blog. What we will be using is PyCafe for the start. It is a tool that allows very quickly and easily explore Python as a programming language without hassle. There is no need to install anything or have anything prepared on your side. It's still a bit of getting used to it with you on the side and I want to have you in the spotlight like this. But we're going to make it eventually to be more streaming native. So, let's switch to GitHub and put ourselves into the corner the videoframe. So, we have show notes on github in the organization named Decoding Love. You will find a lot of things. We will over time explore what all of these things mean. But most importantly for the start, here are notes about the show. And we will share certain links and discussion items or perhaps summaries also here so that you can be sure to follow along with Dina. Let's dive right in and start a first minimal example. This is a lot of code here on the left side. But I don't want to go too much into the details for now. It's more about showing the outcomes of what is possible to achieve with every little code. Here, there is a title statement and if you go over to the right side of the screen you will basically see that on the right side of the screen this title statement can be rendered like a big title. And it's looking rather nice. Let's change this and type here Decoding Love. Can I have a question? But can you use this code only on Py-Café or can you use it also in some other places? Yeah, this is a great question. So, this interface that we have here, this is particular to Py-Café. However, the code, that is something you can use on your own machine, laptop, infrastructure server at home or perhaps at work. Yeah, but which program you need to use this... Ah, only Py-Café? No, this is something we will cover in the coming sessions. So, in this case, we will talk about getting a bit of a feeling of what it is and how things are connected. And to make sure you don't get lost in the details and you lose motivation. So, here we are. And we can have a simple code that is rendering a bit of text. Let's go over here and check this out: It's asking us for the name. Dina, do you want to type your name? You will see the result when you hit enter. Isn't that cool? The name from the drop-down field is used via code directly here and returned.. I already know these kind of examples. Even better. But we have to start somewhere. So, instead of having a textual input, for example, we could have a slider and then do something with the slider. Dina, please explore the slider here on the right side. What is happening? Can you drag it over? But you don't see the whole thing, you know? Yes, you have to zoom up a little bit. And I have to fix the zooming. So, we need to zoom out, huh? No. We need to lock the window. So, here is the slider. As you can see, we move the slider. The numbers are counting, but also this chart, this plot is changing and adapting. I think that is the main takeaway message here. It's really easy to get started with Python. The chart includes just random numbers, that are plotted here. The interesting thing, and in this particular tool that we are looking at, that is actually Streamlit, is that whenever we change something on the top, the bottom stuff is also refreshing automatically. So, if we change the number, so, instead of 73, we select another number, by rotating the slider. A new set of random numbers is created, and then the plot is redrawn for us. Imagine a business case, where you perhaps in the world of energy have to conduct some pricing exercise of a new offer, and you could perhaps upload a ready-made Excel sheet with a couple of parameters that are relevant. And then you have a couple of options, depending on how safe or risk a thing with the investment should be, or the pricing. And then you can quickly have this kind of runbook, where you can from the start to the finished offer, perhaps even with a button send email, could process this request. What I want to share with you is how easy certain things like that can become. I wanted to understand what is this calculation, that the value influences? So, the calculation is actually literally what I am highlighting here. So, it's just a random set of numbers, but every time we refresh with slider value, it's currently updating this random set of numbers. So, it's rather boring, but it looks cool. I hope it shows you, how powerful things can be when they are connected, but still simple to control and process. This is, good enough for a quick motivation, why to use Python and how easy it is to get started. In the coming weeks, we will deep dive the principles of Python. So, next time we meet, we will discuss the basics of the programming language, and then move forward from variables to functions, and then data, and then solving real world business cases. We have some really cool problems already queued up. See you next time. I hope you like, what you see here. I'm sure you will become a data expert.

    12 min

About

Learn how to build automation - from the basics up to reliable pipelines. Learn to solve data automation challenges with code 🚀