We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: change

How to change current working directory in python ?

In this article we will discuss how to change the current working directory in python. Current working directory is the directory in which program is running. Advertisements Change Current Working Directory in Python First of all we need to import python’s os module i.e. import os Python’s os module provides a function to change the …

How to change current working directory in python ?Read More

Python Pandas : Replace or change Column & Row index names in DataFrame

In this article we will discuss how to change column names or Row Index names in DataFrame object. First of all, create a dataframe object of students records i.e. Advertisements students = [ (‘jack’, 34, ‘Sydeny’) , (‘Riti’, 30, ‘Delhi’ ) , (‘Aadi’, 16, ‘New York’) ] # Create a DataFrame object dfObj = pd.DataFrame(students, …

Python Pandas : Replace or change Column & Row index names in DataFrameRead More

Pandas : Change data type of single or multiple columns of Dataframe in Python

In this article we will discuss how to change the data type of a single column or multiple columns of a Dataframe in Python. Change Data Type of a Single Column To change the data type of a single column in dataframe, we are going to use a function series.astype(). Let’s first discuss about this …

Pandas : Change data type of single or multiple columns of Dataframe in PythonRead More

MySQL: change column type to VARCHAR without losing data

This article will see how to convert the column type to VARCHAR without losing the data. Table of Contents: Change column type to VARCHAR without losing data : MODIFY clause Change column type to VARCHAR without losing data : CHANGE clause We will get started by creating a sample table student_enroll_data. Advertisements CREATE TABLE student_enroll_data …

MySQL: change column type to VARCHAR without losing dataRead More

Change the Order of Columns in Pandas DataFrame

In this article we will discuss different ways to Change the Order of Columns in Pandas DataFrame. Table Of Contents Change the order of Dataframe Columns using reindex() Change the order of Dataframe Columns using sort_index() Change the order of Dataframe Columns using Indexing Change the order by moving specific column to particular position A …

Change the Order of Columns in Pandas DataFrameRead More

Change permissions for Directory & Sub-directories in Linux

In this article we will discuss different ways to change the permissions of a folder and all files or subdirectories inside it in Linux. Table Of Contents Introduction Permission Types Change permissions of a Directory & all files/sub-directories in it using chmod command: Example:1 Example:2 Find and Change Permissions of selected files/sub-directories inside a diretory …

Change permissions for Directory & Sub-directories in LinuxRead More

Cart

Your Cart is Empty

Back To Shop