
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 33676 Articles for Programming

5K+ Views
In this technical document, we will explore the process of creating a dataframe using CSV files in Python. Specifically, we will cover the following subsections − Introduction to dataframes and CSV files Reading CSV files into dataframes Exploring dataframes Manipulating dataframes Writing dataframes to CSV files Throughout this document, we will use real world examples and provide code snippets to illustrate each subsection. What are dataframes and CSV files?Before diving into the details of creating a dataframe from a CSV file, let's first define what a dataframe is and what a CSV file is. A dataframe is ... Read More

925 Views
Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language. Pygame is not a game development engine, but rather a set of tools and libraries that allow developers to create 2D games in Python. Pygame provides a variety of functions and classes to help developers create games, including image loading and manipulation, sound playback and recording, keyboard and mouse input handling, sprite and group management, and collision detection. It also includes built-in support for common game development tasks such as animation, ... Read More

412 Views
Is operator also called as the type-compatibility operator plays an integral role in C# structures. Let’s try to understand this operator. C#’s Is operator checks if the given object is compatible with another object and gives the result as true, if it is compatible. Else returns false. Syntax expression is obj Example Expression is the object which you like to check compatibility with. The expression can include variables, literals and method calls. Obj is the type against which the expression is verified. This can comprise of built-in and user-defined types. // The operation of the type compatibility operator is ... Read More

2K+ Views
What are chatbots? In recent years, Chatbots have become increasingly popular for automating simple conversations between users and software-platforms. Chatbots are capable of responding to user input and can understand natural language input. Python-NLTK (Natural Language ToolKit) is a powerful library that can be used to perform Natural Language Processing (NLP) tasks. In this tutorial, we will be creating a simple hardcoded chatbot using Python-NLTK. What are the core concepts of chatbot creation? The core concepts of chatbot creation are − Natural Language Processing (NLP) − Chatbots use NLP to understand human language and interpret the user's intent. NLP ... Read More

2K+ Views
A BitArray is a collection of Boolean values represented as a series of 1’s and 0’s. It is often used to store and manipulate binary data efficiently. In C#, the BitArray class is part of the System. Collections namespace, and it allows you to manipulate the individual bits in the array using bitwise operators. Inverting all bit Values in a BitArray To invert all bit values in a BitArray in C#, you can use the exclusive OR (XOR) operator (^) with the number 1. This operator returns a value of 1 if the bits being compared are different and 0 ... Read More

4K+ Views
What is a dataframe? A dataframe is a two-dimensional object used to store data in a tabular format, where data is arranged in rows and columns. One can create a dataframe using various ways, and one of the most common methods is importing data from excel files. In this document, we will focus on how to create a dataframe using Excel files in Python, step-by-step. Why are dataframes important for data analysis Dataframes are important for data analysis for several reasons − Easy to read and manipulate − Dataframes are a two-dimensional table-like data structure that allow for easy ... Read More

804 Views
C# is an object-oriented programming language that offers a unique feature known as interfaces. They enable you to declare a collection of attributes and methods that a class must implement without mentioning the specifics of how they should be implemented. The ability to write code that is independent of a class's implementation details is one of the main benefits of interfaces. Each object of any class that implements the interface can be referred to using an interface reference. As a result, it is simpler to switch between different class implementations without having to modify the code that utilizes the class. ... Read More

561 Views
In C#, the Array class has a read-only property called LongLength. It returns a long integer value that indicates how many elements the array can accommodate. Only arrays with a rank of one or more, i.e., those that are not single-dimensional arrays, can access the LongLength property. Although the LongLength property provides a long integer value, it's crucial to remember that the maximum size of an array in C# is still constrained by the amount of memory that the system supports. If you try to build an array that is too big, an OutOfMemoryException can be raised. Syntax public long ... Read More

2K+ Views
PyQt5 is one of the most popular GUI libraries available for Python, and it allows developers to create desktop applications with ease. In this document, we will walk through the process of creating a camera application using PyQt5. The camera application will allow the user to take photos, view them, and even save them. What are the advantages of PyQt5? PyQt5 is a Python binding for the popular cross-platform GUI toolkit, Qt. Here are some advantages of PyQt5 − Cross-platform − PyQt5 is a cross-platform toolkit, which means that applications developed with it can run on multiple platforms like ... Read More

519 Views
In a graphical user interface, a CheckBox control in C# enables users to pick a true/false or yes/no choice. The check mark in a CheckBox control is normally aligned to the left, but there are instances when you would wish to move it to the center or right. Alignment of the Check Mark in a CheckBox TextAlign Property To set the alignment of the check mark in a CheckBox control, you need to use the TextAlign property. The TextAlign property is an enumeration that allows you to set the horizontal alignment of the text and check mark within the control.Syntax ... Read More