Python | Split String Multiple Whitespaces

🍎Summary: The most efficient way to split a string using multiple whitespaces is to use the split function like so given_string.split(). An alternate approach is to use different functions of the regex package to split the string at multiple whitespaces. Minimal Example: Problem Formulation 📜Problem: Given a string. How will you split the string using … Read more

Python | Split String Reverse

Summary: There are three different ways to split the string and reverse it:🍎Using reversed() and join()🍎Using list slicing🍎Using numpy.flip() Minimal Example Problem Formulation 📜Problem: Given a string. How will you take a string, split it, reverse it and join it back together again using Python? Example: Let’s visualize the problem with the help of an … Read more

How to Sell Coupons on ETH? Integrate Frontend with Smart Contract (4/4)

How to Sell Coupons on ETH? Creating your own sample dApp in four parts: Welcome to the last part of the series. 🛑 Note: This is just a training “fun” dApp that shows you how to use React, Truffle, and Solidity. It is not a real dApp with real functionality! Imaginary Scenario: Finxter academy has … Read more

How to Sell Coupons on ETH? Web3.js and Connect Frontend with Metamask (3/4)

How to Sell Coupons on ETH? Creating your own sample dApp in four parts: Welcome to the front-end journey for the Finxter coupon Dapp. 🛑 Note: This is just a training “fun” dApp that shows you how to use React, Truffle, and Solidity. It is not a real dApp with real functionality! Imaginary Scenario: Finxter … Read more

How to Sell Coupons on ETH? A Sample Solidity dApp with React and Truffle (1/4)

How to Sell Coupons on ETH? Creating your own sample dApp in four parts: Blockchain has bagged decent accolades recently for its transparency of the transactions made throughout the supply chain. By taking inspiration from that, we decided to make an imaginary Web3 dapp for the finxter academy. 🛑 Note: This is just a training … Read more

Python | Split String then Join

Summary: Use one of the following ways to split a string to get an element from a string: Minimal Example Problem Formulation Example Challenge: Extract certain substrings from the given string and then combine the extracted substrings with a “/” in between to create a new string. Thus, you first have to split the string … Read more

The Ultimate Guide to Bivariate Analysis with Python

This article will review some of the critical techniques used in Exploratory Data Analysis, specifically for Bivariate Analysis. We will review some of the essential concepts, understand some of the math behind correlation coefficients and provide sufficient examples in Python for a well-rounded, comprehensive understanding. What is Bivariate Analysis? Exploratory Data Analysis, or EDA, is … Read more

Python | Split String and Keep Whitespace

⭐Summary: To split a string and keep the delimiters/separators, you can use one of the following methods: (i) Using the regex package and its functions. (ii) Using a list comprehension. Minimal Example Problem Formulation Problem: Given a string in Python. How to split the string and also keep the spaces? Example Consider that there’s a … Read more