python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How do I make my mute command tell the user when their mute expires? discord.py
I'm currently updating my tempmute command, and I have this code here:
time_convert = {"s":1, "m":60, "h":3600,"d":86400}
tempmute= int(time[:-1]) * time_conver...
User123355
Votes: 0
Answers: 1
Interpolating to minute granularity using pandas groupby and interpolate
I have a dataframe looking like the dataframe dogdata below, and I'd like to groupby location and type and linearly interpolate size by a minute datetime resolution
dogdata.set_index('datetime').group...
berr9
Votes: 0
Answers: 1
Pandas: How to create date32 dtype datetime objects?
I am working with parquet and I need to use date32[day] objects for my dates but I am unclear how to use pandas to generate this exact datatype, rather than a timestamp.
Consider this example:
from da...
John Stud
Votes: 0
Answers: 1
How to store date and time in a file in a platform independent way
I want to store a representation of a moment in time (date and time) in a binary file with Python.
My choice, for now, is to write an 8-byte representation in Unix time (seconds from 1970-1-1, 0h00). ...
Jander
Votes: 0
Answers: 1