Python Bits
Python Bits
  • Видео 45
  • Просмотров 312 175
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, ...
Просмотров: 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
Selenium-4 Webdriver Common Methods
Просмотров 5022 года назад
Selenium-4 Webdriver Common Methods
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
TEXT DATA ANALYSIS USING PYTHON
Просмотров 3313 года назад
TEXT DATA ANALYSIS USING PYTHON
Hands-on Python Openpyxl Project
Просмотров 24 тыс.3 года назад
Hands-on Python Openpyxl Project
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
How to Install Python on Windows
Просмотров 5693 года назад
How to Install Python on Windows

Комментарии

  • @jiancarlochua5346
    @jiancarlochua5346 4 дня назад

    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

  • @mharshi
    @mharshi 17 дней назад

    Thanks!

  • @stanTrX
    @stanTrX 22 дня назад

    I think you should be able to do this with native excel tools too, right?

  • @hariskhan9439
    @hariskhan9439 Месяц назад

    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

  • @kingroc3651
    @kingroc3651 2 месяца назад

    How to change font for the 1st entire row in an easy way?

  • @anuragrawat9255
    @anuragrawat9255 2 месяца назад

    @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

  • @kdpr007
    @kdpr007 2 месяца назад

    Good video, I think you wanted to say range for rows 2:9.Accidentally, you have mentioned range column

  • @mounikapathuri8606
    @mounikapathuri8606 2 месяца назад

    please make a video to compare 2 csv files using pandas.

  • @mounikapathuri8606
    @mounikapathuri8606 2 месяца назад

    Thanks, This video really saves my day.

  • @alejomorand
    @alejomorand 3 месяца назад

    you indian guys on youtube are awesome. kind regards from argentina

  • @alejomorand
    @alejomorand 3 месяца назад

    great explanation, you are doing a wonderfull job. you're making my life at work a lot easier

  • @Sin-x89
    @Sin-x89 3 месяца назад

    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.

  • @emirgymnkd3094
    @emirgymnkd3094 3 месяца назад

    can you share these excel files with us so we can write the codes with you at the same time?

  • @pkkkpkkk2385
    @pkkkpkkk2385 4 месяца назад

    thank you my indian brothers

  • @haribhaskar72
    @haribhaskar72 5 месяцев назад

    Awesome 👍

  • @manivannan91
    @manivannan91 5 месяцев назад

    Hi bro, please help to automate more scenario and post video

  • @newlookak47
    @newlookak47 5 месяцев назад

    Can you share the code?

  • @JorgePerezdelcastillo
    @JorgePerezdelcastillo 5 месяцев назад

    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?

  • @abogadosasesorias8848
    @abogadosasesorias8848 6 месяцев назад

    You deserve the heaven

  • @Eva-us8ss
    @Eva-us8ss 6 месяцев назад

    CAN we code this with forms so it is much user friendly?

  • @dev1995kumar
    @dev1995kumar 6 месяцев назад

    for me its working fine only on python end on showing any data validation list in .xls

  • @Hakeem357
    @Hakeem357 6 месяцев назад

    Very helpful. I liked that you are facing challenges then going back and fixing them. Thanks for a very impressive work.

  • @diegolorenzo8712
    @diegolorenzo8712 6 месяцев назад

    would be super appreciated videos for pivots and indexmatch also!

  • @Hakeem357
    @Hakeem357 6 месяцев назад

    Thank you Very helpful

  • @chihathimy8250
    @chihathimy8250 7 месяцев назад

    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')

    • @anuragrawat9255
      @anuragrawat9255 2 месяца назад

      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

  • @Yash-pv8fb
    @Yash-pv8fb 7 месяцев назад

    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

  • @bakytparman
    @bakytparman 7 месяцев назад

    I pretty much liked that! Very good, thank you!

  • @abdulkhadershaik5018
    @abdulkhadershaik5018 9 месяцев назад

    Thank you and this video is going to be very helpful for us to arrange our messy data in just a click😊

  • @hritikmukati8621
    @hritikmukati8621 9 месяцев назад

    this will not going to work for large data set.

  • @mahdiqorbani1759
    @mahdiqorbani1759 9 месяцев назад

    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."

  • @ItExcelLevelUp
    @ItExcelLevelUp 9 месяцев назад

    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

  • @sandeepgupta6526
    @sandeepgupta6526 9 месяцев назад

    Thanks

  • @gearoidmulligan3739
    @gearoidmulligan3739 10 месяцев назад

    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?

  • @ivoirecomics225
    @ivoirecomics225 10 месяцев назад

    I was so tired to search again and again and I've found you. Thank you for this video !

  • @CleonMcKnight
    @CleonMcKnight 11 месяцев назад

    Excellent. Thank you for the concise and useful tutorial.

  • @vishruthag5239
    @vishruthag5239 11 месяцев назад

    where is this data ?? daily data ?

  • @Chief_fM
    @Chief_fM Год назад

    Amazing 🔥

  • @wolfgangp4950
    @wolfgangp4950 Год назад

    That was brilliant. Thank you

  • @JanT1586
    @JanT1586 Год назад

    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?

  • @ROKKor-hs8tg
    @ROKKor-hs8tg Год назад

    Pdffile reader romoved in pypdf2 3 0 0

  • @rebeccadsouza1969
    @rebeccadsouza1969 Год назад

    What does the error 'Workbook' object is not subscriptable mean?

  • @kalininshaw1691
    @kalininshaw1691 Год назад

    I don't know ur English

  • @piokany8566
    @piokany8566 Год назад

    Great job! Sir how many pages can be converted?

  • @BoraLerGalera
    @BoraLerGalera Год назад

    Great my friend!! The simplest solution I have read so far, and the one it worked!!

  • @kiyaanverse7774
    @kiyaanverse7774 Год назад

    a store memory in one location n b stored values in separate memory

  • @Abramov_Andrey
    @Abramov_Andrey Год назад

    Спасибо, быстро и ясно!)

  • @ammarfasih3866
    @ammarfasih3866 Год назад

    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)

  • @hemantgosai6820
    @hemantgosai6820 Год назад

    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?

  • @fatehfateh4257
    @fatehfateh4257 Год назад

    ws.cell(row=i, column=6).value=f_col it's not same f_col=ws.cell(row=i, column=6).value ?? why

  • @heliheli6808
    @heliheli6808 Год назад

    Int object has no attribute’value’

    • @yagzyalcntas553
      @yagzyalcntas553 17 дней назад

      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.