time tag

55 questions


1 answers
53 views
0
Process time data configured with a.m. in Python

import numpy as npimport pandas as pdfrom pandas import DataFramepd.set_option('display.max_rows',10000000000000)pd.set_option('display.max_columns',10000000000000)pd.set_option('display.width',100000...

2 years ago

1 answers
65 views
0
[Python] Please help me check the old man site repeatedly

I'm an old man who's learning Python on his own I want to check if many site url works well every 30 minutes and print it out.I succeeded in printing the response 200 code, but I got an error in the r...

2 years ago

2 answers
116 views
0
I have a question about float64 type -> datetime64 type conversion.

Hello, everyone I want to convert from float64 type to datetime, but it doesn't work as I thought.First of all, in float64 format, the value is 44616.107037! If expressed in yyyy/mm/ddhh/mm/mm/ss form...

2 years ago

1 answers
45 views
0
Python math module questions

import math as m#1, Result value: 1.0print(m.sin(m.pi/2))#2, result value -2.4492935982947064e-16print(m.tan(m.pi*2))If you do it like number 1, you will get the exact value of sin/2/2.But I wonder wh...

2 years ago

1 answers
92 views
0
Differences between Python datetime and result values according to date class changes

It's a program that measures the time left until Christmas.import datetime as dta=dt.datetime.today()print(f) Today is {a.the month of the yearIt's day}.')xmas=dt.date(2022,12,25)su=xmas - dt.datetime...

2 years ago
« - 6 -

© 2024 OneMinuteCode. All rights reserved.