Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to subtract columns with dates?
Post: RE: How to subtract columns with dates?

The code below got it to work. from datetime import date excl['testdate'] = pd.to_datetime(excl['testdate']) print(excl.testdate - excl.Date)
jpy Data Science 3 2,275 Dec-29-2020, 12:11 AM
    Thread: How to subtract columns with dates?
Post: RE: How to subtract columns with dates?

This is my first set of code that runs without error. import matplotlib.pyplot as plt import numpy as np import pandas as pd from datetime import date #Read excel file excl = pd.read_excel (r'C:\U...
jpy Data Science 3 2,275 Dec-28-2020, 10:13 PM
    Thread: How to subtract columns with dates?
Post: How to subtract columns with dates?

Hi everyone, I have the code below that first creates a column with today's date (works) then I subtract an existing column but I get a TypeError. I ran the Dtype function and found that the excl.test...
jpy Data Science 3 2,275 Dec-28-2020, 08:35 PM
    Thread: How to export from Python to Excel?
Post: RE: How to export from Python to Excel?

Codeto, this is exactly what I was looking for, thank you.
jpy General Coding Help 4 6,388 Dec-23-2020, 03:26 PM
    Thread: How to export from Python to Excel?
Post: How to export from Python to Excel?

Hi everyone, I found the example below online that creates an excel file for you. I am currently working with a workbook in Python (using read_excel function), I added columns to it and edited some of...
jpy General Coding Help 4 6,388 Dec-23-2020, 05:37 AM
  Photo Thread: How to do a graph in Python? (and proper terminology)
Post: How to do a graph in Python? (and proper terminolo...

Hi everyone - I have a few questions I hope you can help me with. I am using Pandas and NumPy, are these called libraries? Is there somewhere I can see a list of all functions with what they do? I a...
jpy Data Science 2 2,108 Dec-21-2020, 11:43 PM
    Thread: How to use the count function from an Excel file using Python?
Post: RE: How to use the count function from an Excel fi...

Thank you for the guidance and reading, I appreciate it.
jpy General Coding Help 2 4,482 Dec-21-2020, 12:30 AM
    Thread: How to use the count function from an Excel file using Python?
Post: How to use the count function from an Excel file u...

Hello everyone - I am in the early stages of learning Python and decided to start with using Excel in Python. I am running the code below in Jupyter and it works well. This notebook currently has a st...
jpy General Coding Help 2 4,482 Dec-20-2020, 11:51 PM

User Panel Messages

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