how to know the day is it Monday Tuesday or of a specific date in Python

0 votes

I have a pandas dataframe with one column called "date" with dates from 10/1/2018 to 5/1/2020 and one column called "sales" with total sales of the day. I set "date" as index and I want to have another column to show the day of the dates (e.g. Monday, Tuesday, Wednesday...). Is there any dataframe function to do that?

Thank you.

Mar 20, 2023 in Python by anonymous
• 990 points

edited 4 days ago 9 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP