Asif Rahaman has Published 59 Articles

How to break a line without using br tag in HTML / CSS?

Asif Rahaman

Asif Rahaman

Updated on 24-Nov-2023 01:19:59

1K+ Views

Introduction Breaking a line without using the tag in HTML / CSS can be useful in situations where you want to create space between elements, but don't want to add a new line of text. There are a few different ways to achieve this effect using CSS, which we'll ... Read More

How to Use cbind in Python?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 15:11:55

113 Views

Python is a versatile programming language that offers programmers various modules and libraries to perform the required tasks. One such powerful function that Python offers is the “cbind”. This stands for column bind. The “cbind” is a powerful tool that allows programmers to combine, merge, and group the arrays, data ... Read More

How to Use axis=0 and axis=1 in Pandas?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 15:08:15

1K+ Views

As a programmer, when we need to deal with data, we may need to perform operations only in rows or columns, or both. In pandas, the axis refers to how a function or an operation is applied to the Data Frame or the series. Pandas only can take two values, ... Read More

How to use a List as a dictionary key in Python 3?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 15:05:20

52 Views

Dictionaries are among the most powerful data structures in Python programming languages. This is a data structure consisting of key-value pairs. It has several advantages; for example, accessing the values occurs in O(1) time complexity, it is memory efficient, easy to update, delete and iterate, and offers many built functions ... Read More

How to use a DataLoader in PyTorch?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 15:02:14

93 Views

PyTorch is a popular open-source machine-learning library. Data scientists, researchers, and developers use this library widely to develop AI/ML products. One of the most important features of PyTorch is the Data Loader class. This class helps to load and batch the data for neural network training efficiently. This article will ... Read More

How to Get the next key in Dictionary in Python?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 14:55:50

530 Views

Dictionaries are powerful data types of Python. It consists of key-value pairs. Operations like searching, appending, etc., can be done efficiently through this data type. While accessing values in a dictionary is straightforward, there may be situations where you need to find the next key in a dictionary. Python provides ... Read More

How to Get a sorted list of random integers with unique elements using Python?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 14:51:57

55 Views

Generating random numbers is one of the most popular techniques in programming, statistics, machine learning models, etc. Generating a sorted list of random integers with unique elements is a subdomain of the task. However, computers are deterministic machines, so generating random numbers through our implementation is only sometimes a smart ... Read More

How to generate k random dates between two other dates using Python?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 14:48:44

386 Views

Generating random data is important in the field of data science. From building Neural Networks forecasting, stock market data, etc., often come with dates as one of the parameters. We may need to generate random numbers between the two dates for statistical analysis. This article will show how to generate ... Read More

How to Design Half-Page Carousel in Bootstrap?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 14:39:15

182 Views

Carousel is a popular web designing technique used by web developers. This is a way to show a series of images or any other media content in an interactive way. These carousels are important design elements in several kinds of websites like traveling websites, Educational websites, etc., where we need ... Read More

How to design form controls for mobiles using jQuery Mobile Square-UI Theme plugin?

Asif Rahaman

Asif Rahaman

Updated on 28-Jul-2023 13:24:58

56 Views

Making web pages mobile-friendly is a challenging task for the customs form control. jQuery gives us many options to perform the task conveniently. Since smartphones are very popular devices nowadays, it is important to be able to create custom form controls which visually appealing interfaces. jQuery library of JavaScript can ... Read More

Advertisements