- Видео 45
- Просмотров 312 175
Python Bits
США
Добавлен 26 дек 2020
Welcome to my channel! This channel teaches about automation using Python. From beginners to experts, I have something for everyone. My videos cover a wide range of topics including Excel automation, data processing, automating repetitive tasks and even project-based tutorials. Join me as I explore the power of Python programming and discover the many ways it can be used to make your work easier. Subscribe now to stay updated on my latest videos and start using power of python in your workflows!
You can find me on:
Twitter: pythonbits1
TikTok: www.tiktok.com/@pythonbits
You can find me on:
Twitter: pythonbits1
TikTok: www.tiktok.com/@pythonbits
Master VLOOKUP with Pandas: A Step-by-Step Guide!
In this tutorial, you'll learn how to replicate the powerful VLOOKUP function from Excel using the Pandas library in Python. We’ll walk you through the entire process, from setting up your environment to executing VLOOKUP-like operations with DataFrames. By the end of this video, you'll have a solid understanding of how to merge data efficiently and leverage Pandas for data analysis tasks.
🔍 What You’ll Learn:
*Setting up Pandas in your Python environment
*Creating and manipulating DataFrames
*Performing VLOOKUP-like merges using merge()
*Practical examples to solidify your understanding
Whether you're transitioning from Excel to Python or just looking to enhance your data manipulation skills, ...
🔍 What You’ll Learn:
*Setting up Pandas in your Python environment
*Creating and manipulating DataFrames
*Performing VLOOKUP-like merges using merge()
*Practical examples to solidify your understanding
Whether you're transitioning from Excel to Python or just looking to enhance your data manipulation skills, ...
Просмотров: 109
Видео
Automatically Remove Old Files Using Python
Просмотров 651Год назад
Are you tired of cleaning up your computer storage? In this video, you'll learn how to use Python to easily automate files removal, so you can clean up your storage without spending hours. We'll use Python os module to navigate through files structure and remove unnecessary files. If you prefer organizing files instead of removing them. Check out my other video: ruclips.net/video/Q02BMUooqQc/ви...
Easily Organize Your Files using Python Script
Просмотров 554Год назад
This video will show you how to use Python to effortlessly organize your files. We’ll take you through a step-by-step process of how to use Python’s powerful data organizing capabilities to instantly organize your files in an efficient way. We’ll cover the basics of Python and explain everything you need to know to get started quickly and easily. Source Code: pastebin.com/BPRK2vbJ
How to Sort Rows in Excel Using Python. Openpyxl Tutorial #11
Просмотров 5 тыс.Год назад
In this video, we'll learn how to sort rows in Excel using the Python openpyxl library. Source code: pastebin.com/Up4pBxfR Dummy data created using www.mockaroo.com/ Python datetime format reference: strftime.org/
Excel Data Validation Using Python Openpyxl Tutorial #10
Просмотров 9 тыс.Год назад
In this video, we will automate data validation in Excel. This will help you keep your data clean and accurate while avoiding manual errors.
Create Word Document/Report Using Python
Просмотров 4,1 тыс.Год назад
In this video, you will learn how to use Python to create an MS Word document. We will cover topics such as how to automate the MS Word document creation, how to add bullet points, and how to automatically add charts and tables in the MS Word document using python. This video will explain the common methods used to create MS Word documents.
Python Convert PDF to Word
Просмотров 5 тыс.Год назад
In this video, I'll show you how to convert a PDF document to a Word document using Python. This is a great way to save the PDF file as a Word document, which can then be opened and edited using MS Word application. If you need to convert a PDF document to a Word document, then this is the video for you! We are using advanced method to extract text from even non-convertible documents like pdf c...
This Python Trick will Split a String Word by Word in Seconds
Просмотров 2,8 тыс.Год назад
This Python Trick will Split a String Word by Word in Seconds
DON'T COMPARE YOUR EXCEL FILES MANUALLY WITHOUT WATCHING THIS!!!!🤫
Просмотров 16 тыс.Год назад
DON'T COMPARE YOUR EXCEL FILES MANUALLY WITHOUT WATCHING THIS!!!!🤫
Find and Interact with page elements using Selenium 4.0
Просмотров 6242 года назад
Find and Interact with page elements using Selenium 4.0
Remove Special Characters/Quotes in Excel using python
Просмотров 5 тыс.2 года назад
Remove Special Characters/Quotes in Excel using python
How to automate browser in python using selenium - Test Automation
Просмотров 1,1 тыс.3 года назад
How to automate browser in python using selenium - Test Automation
YOU WILL NEVER PERFORM VLOOKUP AGAIN.. WATCH TILL END…
Просмотров 22 тыс.3 года назад
YOU WILL NEVER PERFORM VLOOKUP AGAIN.. WATCH TILL END…
CREATE AWESOME GRAPHICS WITH CODE USING PYTHON
Просмотров 5583 года назад
CREATE AWESOME GRAPHICS WITH CODE USING PYTHON
How to Automate Excel Formulas using Python. Openpyxl Tutorial #9
Просмотров 17 тыс.3 года назад
How to Automate Excel Formulas using Python. Openpyxl Tutorial #9
How to Format Data in Excel using Python. Openpyxl Tutorial #8
Просмотров 15 тыс.3 года назад
How to Format Data in Excel using Python. Openpyxl Tutorial #8
How to Apply Border Style in Excel using Python. Openpyxl Tutorial #7
Просмотров 12 тыс.3 года назад
How to Apply Border Style in Excel using Python. Openpyxl Tutorial #7
How to Apply Pattern Fill/Background Color in Excel using Python. Openpyxl Tutorial #6
Просмотров 18 тыс.3 года назад
How to Apply Pattern Fill/Background Color in Excel using Python. Openpyxl Tutorial #6
How to Apply Font Style in Excel using Python. Openpyxl Tutorial #5
Просмотров 13 тыс.3 года назад
How to Apply Font Style in Excel using Python. Openpyxl Tutorial #5
How to Write/Update Data in Excel Using Python. Openpyxl Tutorial #4
Просмотров 26 тыс.3 года назад
How to Write/Update Data in Excel Using Python. Openpyxl Tutorial #4
How to Iterate and Read Rows and Column. Openpyxl Tutorial #3
Просмотров 39 тыс.3 года назад
How to Iterate and Read Rows and Column. Openpyxl Tutorial #3
How to Read Excel Data in Python. Openpyxl Tutorial #2
Просмотров 20 тыс.3 года назад
How to Read Excel Data in Python. Openpyxl Tutorial #2
How to Load Excel in Python. Openpyxl Tutorial #1
Просмотров 45 тыс.3 года назад
How to Load Excel in Python. Openpyxl Tutorial #1
after I download the openpyxl, before you time the function, what else should I do first? Where to put the downloaded file openpyxl? because it cannot read by the software. Please include it in the tutorial
Thanks!
I think you should be able to do this with native excel tools too, right?
if anyones excel file is not showing the prompt or the error message this is because in some cases its disabled by default so what you have to do is add this to your code: dv.showInputMessage = True dv.showErrorMessage = True Hope this helps
How to change font for the 1st entire row in an easy way?
@Pythonbits not working for me as well what was your python and openpyxl version ?, i have 3.10.2 and openpyxl as openpyxl==3.1.5
Good video, I think you wanted to say range for rows 2:9.Accidentally, you have mentioned range column
please make a video to compare 2 csv files using pandas.
Thanks, This video really saves my day.
you indian guys on youtube are awesome. kind regards from argentina
great explanation, you are doing a wonderfull job. you're making my life at work a lot easier
hello Python Bits following the proposed exercise, if I had a list. of the same size as column c, but I would like to add my list example, my_list=['a','b','c','d','e','f','g','h', 'm'] in column d, as I introduce with the for loop method, if when I did it, it only copied the last element of the list, in this case m is copied in all rows from 2 to 9. and not like this all the elements in the list. greetings.
can you share these excel files with us so we can write the codes with you at the same time?
thank you my indian brothers
Awesome 👍
Hi bro, please help to automate more scenario and post video
Can you share the code?
Hi, I need to manipulate headers with simple tasks like adding a logo. How to put for example a logo in the left side of the three excel headers?
You deserve the heaven
CAN we code this with forms so it is much user friendly?
for me its working fine only on python end on showing any data validation list in .xls
Very helpful. I liked that you are facing challenges then going back and fixing them. Thanks for a very impressive work.
would be super appreciated videos for pivots and indexmatch also!
Thank you Very helpful
Can you help me? I have code sample of your but don't work validation. import openpyxl from openpyxl.worksheet.datavalidation import DataValidation wb = openpyxl.load_workbook('sample_plan.xlsx') sheet = wb.active valid_options = '"Not Started, In Progress, Completed"' rule = DataValidation(type='list', formula1=valid_options, allow_blank=True) rule.error = 'Your entry is not valid' rule.errorTitle = 'Invalid Entry' rule.prompt = 'Please select from the list' rule.promptTitle = 'List Selection' # Add the data-validation object to the worksheet sheet.add_data_validation(rule) rule.add('C2:C100') wb.save('file.xlsx')
yeah same is not working for me as well what was your python and openpyxl version ?, i have 3.10.2 and openpyxl as openpyxl==3.1.5
What if I have some data in tabular form in pdf file So what should I use to have my docx same format as my pdf file
I pretty much liked that! Very good, thank you!
Glad you liked it!
Thank you and this video is going to be very helpful for us to arrange our messy data in just a click😊
Glad it was helpful!
this will not going to work for large data set.
thx for the video, but i have a problem. I'm doing every step but getting this msg in cmd: "'py' is not recognized as an internal or external command, operable program or batch file."
Perfect, bhai if we have 120+ columns then do you think that firstly we need to count the columns in excel...it's not the right way to do in industry level
Thanks
Is anyone else getting an error saying ‘Worksheet’ has no attribute ’add_data_validation’. And also what if you have an excel file with multiple sheets but you only want to apply it to one specific sheet?
I was so tired to search again and again and I've found you. Thank you for this video !
Glad I could help!
Excellent. Thank you for the concise and useful tutorial.
where is this data ?? daily data ?
Amazing 🔥
That was brilliant. Thank you
Very informative video! Thank you! Would you be able to create a video for this? We have two excel files..one with highlighted and non-highlighted string....and 2nd file has string which might contain the same string as file #1...so you are asked to look only at the highlighted strings from file #1and check if there is an exact match in the 2nd file. How would you approach this?
Pdffile reader romoved in pypdf2 3 0 0
What does the error 'Workbook' object is not subscriptable mean?
I don't know ur English
Great job! Sir how many pages can be converted?
Great my friend!! The simplest solution I have read so far, and the one it worked!!
a store memory in one location n b stored values in separate memory
Спасибо, быстро и ясно!)
how can we do following in openpyxl, - remove the filters once we create using from openpyxl.worksheet.table import Table - convert the table create to range (like we have in excel Convert to Range)
What about I have large number of columns e.g. A1:ZZZ1000. In loop how many variable I can create. Is there any other way to fatch value from range. Also how to SaveAs file as .csv?
ws.cell(row=i, column=6).value=f_col it's not same f_col=ws.cell(row=i, column=6).value ?? why
Int object has no attribute’value’
Then you probably already taking the cell value or you are taking the coordinate of the cell. If the first you already have what you want, if it is coordinate you can use the coordinate to extract the value. Tho i dont think you care after a year lol. Also just throwing out the error without providing the code or at least the line which creates the error(which line creates error also written in the log) is not possible to help with.