Python

How To Create Diagrams in Python with Diagram as Code — step-by-step Python tutorial on Progressive Robot

How To Create Diagrams in Python with Diagram as Code

The Diagram as Code tool allows you to create an architecture diagram of your infrastructure using a Python script. You can reuse code, test, integrate, and automate the process of drawing diagrams, which will enable you to treat documentation as code and to build pipelines for mapping your infrastructure.

Read more
How To Manage Python with Pyenv and Direnv — step-by-step Python tutorial on Progressive Robot

How To Manage Python with Pyenv and Direnv

In this tutorial, you’ll install pyenv for managing python environments, install direnv to auto configure and source the virtualenv for projects, set a global Python version and a local Python version for projects, and configure a virtualenv and auto source the venv when moving into your project directories.

Read more
How To Use Python pandas dropna() to Drop NA Values from DataFrame — step-by-step Python tutorial on Progressive Robot

How To Use Python pandas dropna() to Drop NA Values from DataFrame

URL: https://www.progressiverobot.com/pandas-dropna-drop-null-na-values-from-dataframe/ Introduction In this tutorial, you'll learn how to use panda's DataFrame dropna() function. NA values are "Not Available". This can apply to Null, None, pandas.NaT, or numpy.nan. Using dropna() will drop the rows and columns with these values. This can be beneficial to provide you with only valid data. By default, this function […]

Read more
Erste Schritte mit der Requests-Bibliothek in Python — step-by-step Python tutorial on Progressive Robot

Erste Schritte mit der Requests-Bibliothek in Python

In vielen Webanwendungen ist es normal, sich über APIs mit verschiedenen Diensten von Drittanbietern zu verbinden. Wenn Sie diese APIs verwenden, können Sie auf Daten wie Wetterinformationen, Sportergebnisse, Filmlisten, Tweets, Suchmaschinenergebnisse und Bilder zugreifen. Sie…

Read more
Python String isalnum() — step-by-step Python tutorial on Progressive Robot

Python String isalnum()

URL: https://www.progressiverobot.com/python-string-isalnum/ Python string isalnum() function returns True if it's made of alphanumeric characters only. A character is alphanumeric if it's either an alpha or a [number](/community/tutorials/python-numbers). If the string is empty, then isalnum() returns False. !python string isalnum() Python string isalnum() example s = 'HelloWorld2019' print(s.isalnum()) Output: True s = 'Hello World 2019' print(s.isalnum()) […]

Read more
ReLu Function in Python — step-by-step Python tutorial on Progressive Robot

ReLu Function in Python

URL: https://www.progressiverobot.com/relu-function-in-python/ Relu or Rectified Linear Activation Function is the most common choice of activation function in the world of [deep learning](/community/tutorials/introduction-to-machine-learning). Relu provides state of the art results and is computationally very efficient at the same time. The basic concept of Relu activation function is as follows: Return 0 if the input is negative otherwise […]

Read more
Python String replace() — step-by-step Python tutorial on Progressive Robot

Python String replace()

URL: https://www.progressiverobot.com/python-string-replace/ Python string replace() function is used to create a string by replacing some parts of another [string](/community/tutorials/python-string). Python String replace Python String replace() function syntax is: str.replace(old, new[, count]) The original string remains unmodified. The new string is a copy of the original string with all occurrences of substring _old_ replaced by _new_. […]

Read more
CHAT