Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some direction needed
#1
Hello,
I am new to the python world and am about to embark on my first project. What I am trying to do is essentially replicate a excel macro. I am not using a macro because I have multiple workbooks I need to manipulate. I do know I want to use Pandas to complete this task but being my first time I am a little uncertain of things. Below are the first few steps I need to replicate.

insert a blank column after column P (after the IPPER Plan Code (CBF)column).
Call the column CON/PLAN.
Populate the formula =N14&P14 into cell Q2 of the column. Drag the formula down to populate all cells in the column.
NOTE: Clear contents in #3 below. In FIN_Find_Customer_Invoices_lines_with_Worktags.xlsx, copy the the data from row 13 to bottom.
Go to the current month Custom excel, Worksheet tab. Paste in the copied data (not as values). You will over-write the tab. Make sure columns E, F, and G are formatted as dates in the updated Worksheet tab.
Close the FIN_Find_Customer_Invoices_lines_with_Worktags.xlsx.

Here is what I am starting with:

import pandas as pd
file_name = C:\Users\u678153\Desktop\FIN_Find_Customer_Invoices_lines_with_Worktags.xlsx
df = pd.read_excel(file_name) #Read Excel file as a DataFrame
I would appreciate any guidance
Reply


Messages In This Thread
Some direction needed - by Patriot1017 - Aug-30-2019, 04:49 PM
RE: Some direction needed - by Patriot1017 - Sep-03-2019, 04:23 PM
RE: Some direction needed - by Patriot1017 - Sep-03-2019, 05:40 PM
RE: Some direction needed - by jefsummers - Sep-03-2019, 05:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Project Direction bclanton50 1 1,340 Jan-06-2022, 11:38 PM
Last Post: lucasbazan
Question How to understand the vector/direction mason321 0 1,126 Dec-14-2021, 10:57 PM
Last Post: mason321
  Pointer in the right direction? Viking 5 2,752 Apr-22-2020, 06:14 PM
Last Post: Viking
  Length and direction cosines of lines tarikrr 1 1,779 Nov-15-2019, 04:16 AM
Last Post: SheeppOSU
  Practicing using a "flag": please point in right direction magsloo 5 3,120 May-10-2019, 04:58 AM
Last Post: perfringo
  How to create a graph for direction visualization Visiting 2 2,805 Sep-22-2018, 10:49 PM
Last Post: Visiting
  Need tutorial/direction to access shared memory ridshack 2 2,999 Feb-22-2018, 11:24 PM
Last Post: ridshack

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020