To extract text from scanned pdf first we need to download tesseract and poppler.
Category Archives: Python
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”
GPS App using Kivy Python
By using kivy and plyer GPS an app to fetch current location and store in firebase database can be made using below code
VLOOKUP in pandas
In excel we use vlookup to seach data vertically from another sheet.If we have two sheets Lets say sheet1 & sheet 2 and we have to search for data that is not available in sheet2 but Available in sheet1 then we can use VLOOKUP
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”
Read WhatsApp chat file using python
First we need to download WhatsApp file from mobile device By clicking on group chat more button than export chat
Calculate average using pandas
1.First we have to read data from mean.xlsx file which contains then we have to use groupby function to group data by x column and calculate mean(average) pandas merge will merge data frame d with d1 and inner join. below code will rename column name
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.
KivyMD Screenmanager
KivyMD screen manager is used to combine multiple screens in app. Output: when you click on button ‘Move to Screen A’ as shown above it will move to another screen as shown in slideshows.