Git Product home page Git Product logo

python_automation_excel's Introduction

automation_application_portfolio

I tried to automate the process of copy-pasting data from one Excel workbook to another, with different formats.

The painpoint of manual work in Excel is that it is easy to make trivial mistakes when dealing with middle-sized Excel datasets, which would cause unnecessary trouble on data quality. So I decided to use Python to automate this process, leaving no space for the 'manual work devil' to take my place.

Following the existed solutions, I successfully run the code at the beginning based on the instruction on: https://yagisanatode.com/2017/11/18/copy-and-paste-ranges-in-excel-with-openpyxl-and-python-3/
However, it performed extremely slow on my computer - with Visual Studio, I directly chose the language as 'Python' and started writing scripts. I would need approximately 120 seconds to copy 6 cells in a workbook.

I then started to decrease the time. At first I thought it was solely the problem of openpyxl. So I searched for new libraries such as xlwt or xlwings. However, each of the libraries could only realize the copy-pasting of a single row/column. A selective range of cells cannot be realized.

python_automation_excel's People

Contributors

regretfulwinter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.