Data Analysis using Pandas

Data analysis is the process of inspecting, cleaning, transforming, and modeling data to uncover useful information and support decision-making. It involves various techniques and tools that help dissect complex data sets and extract meaningful insights. Data analysis can be performed through different approaches such as descriptive analysis, exploratory analysis, inferential analysis, and predictive analysis. OneContinue reading “Data Analysis using Pandas”

Extract data from Website using Selenium

Extracting data from website is termed as web scrapping.we can use selenium and python for web scrapping. 1.First we have to import all required modules from selenium as written below 2. Download chrome webdriver or write code as given below anew chrome window will open. 3.Mention the url you want to scrape 4.Declare list inContinue reading “Extract data from Website using Selenium”

Selecting Row & Columns in Data Frame Pandas

1.First we create a dataframe as shown below which has 3 columns and 3 rows. 2.Shape of data frame can be checked by typing df.shape as shown below 3.For selecting name and age column only 4. For selecting rows only by name and age 6.Select rows and columns by index using iloc 7. Select rowsContinue reading “Selecting Row & Columns in Data Frame Pandas”

Calcuclate date by adding minutes in Python

We can calculate that by adding minutes in a given date to do this first we need to import datetime and time Delta function from datetime as shown below.

Design a site like this with WordPress.com
Get started