
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 10401 Articles for Python

235 Views
PyTorch is a widely used open-source machine learning framework that was developed by Facebook's AI research team. It is known for its flexibility, speed, and ability to build complex models easily. PyTorch is based on the Torch library, which was originally developed in Lua, and it provides Python bindings. PyTorch is widely used in academia and industry for various machine learning tasks such as computer vision, natural language processing, and speech recognition. In this tutorial, we will learn how to use the PyTorch library to build a deep learning model. Getting Started Before we dive into using the torch library, ... Read More

502 Views
In the field of data analysis and machine learning, data preprocessing plays a vital role in preparing raw data for further analysis and model building. Data preprocessing involves a series of steps that clean, transform, and restructure data to make it suitable for analysis. Python, with its powerful libraries and tools, provides an excellent ecosystem for building robust data preprocessing pipelines. One such library is Pandas, a popular data manipulation and analysis library that offers a wide range of functions and methods for working with structured data. In this tutorial, we will delve into the process of building a data ... Read More

4K+ Views
Cryptocurrency trading has become a popular investment option, and many traders are looking to automate their trading strategies with the use of trading bots. In this article, we will be exploring how to build a cryptocurrency trading bot with Python and the ccxt library. ccxt is a popular library for cryptocurrency trading and provides a unified API for multiple cryptocurrency exchanges. This makes it easy to switch between exchanges and automate trading strategies. We will be using Python to create a simple trading bot that can execute trades on Binance exchange. Getting Started Before we dive into using the ccxt ... Read More

121 Views
First, let us understand what a crontab file is. Cron is a software utility that helps us schedule tasks on the Unix based systems. So basically, you’ll be able to periodically run assigned tasks, for example, automated system backups at the end of the day, to auto shutdown or set mode to DND at a particular time and more such features. These "tasks" in cron are usually defined in a file called crontab, which is basically a text file that contains the commands to be executed. Let us now learn how we can write these crontab files in Python using ... Read More

270 Views
From news articles and e−commerce platforms to social media updates and blog posts, the web is a treasure trove of valuable data. However, manually navigating through countless web pages to gather this information is a time−consuming and tedious task. That's where web crawling comes in. What is Web Crawling? Web crawling, also known as web scraping, is a technique used to systematically browse and extract data from websites. It involves writing a script or program that automatically visits web pages, follows links, and gathers relevant data for further analysis. This process is essential for various applications, such as web indexing, ... Read More

1K+ Views
Whoosh is a python library of classes and functions for indexing text and then searching the index. Suppose you are building an application that needs to go through various documents and then find similarities or get data from it based on a few predefined conditions, or let's say you want to count the number of times the title of the project is mentioned in a research paper, then what we are building in this tutorial will come in handy. Getting Started For building our text search engine, we will be working with the whoosh library. This library does not come ... Read More

192 Views
Machine learning is a branch of artificial intelligence that allows machines to learn and improve on their own without explicit programming. Scikit−learn is a popular Python library for machine learning that provides various tools for predictive modeling, data mining, and data analysis. In this tutorial, we will explore how to develop a machine learning model using the scikit−learn library. We will start with a brief introduction to machine learning and the scikit−learn library. We will then move on to the main content, which includes data preprocessing, model selection, model training, and model evaluation. We will use a sample dataset ... Read More

783 Views
Data visualization allows us to explore patterns, trends, and relationships within our data, enabling us to derive meaningful insights. In this tutorial, we will explore how to create a web−based data visualization dashboard using Python and Plotly Dash. What is Plotly Dash? Python, being a popular programming language for data analysis and visualization, offers various libraries and frameworks to create interactive visualizations. One such powerful framework is Plotly Dash. Plotly Dash is a Python framework that allows you to build interactive web applications and dashboards with ease. It combines the simplicity and versatility of Python with the flexibility and ... Read More

877 Views
Raspberry Pi is a popular single−board computer that is widely used for various projects, ranging from home automation to robotics. One of the key features of Raspberry Pi is its ability to interface with the physical world through its GPIO (General Purpose Input/Output) pins. These pins allow you to connect sensors, actuators, and other electronic components to the Raspberry Pi and control them with software. Python is a versatile programming language that is widely used for developing applications on Raspberry Pi. In fact, the Raspberry Pi OS comes with Python pre−installed, making it a natural choice for programming GPIO pins. ... Read More

784 Views
Stock price prediction is a frequent use case in machine learning and data analysis. We can construct models that forecast future stock prices with fair accuracy by analysing past trends and patterns in the stock market. In this lesson, we'll look at how to use Python and the pandas package to create a stock price prediction model. The pandas library is a popular Python data analysis package. It includes a comprehensive collection of tools for working with structured data, such as data frames and series. We'll use pandas to analyse and manipulate stock data before developing a machine learning model ... Read More