Find Jobs
Hire Freelancers

I need a coder

$10-30 USD

Zaprt
Objavljeno pred približno 3 leti

$10-30 USD

Plačilo ob dostavi
I have a list of numpy datetime64 objects, like so: time_list_array = [[login to view URL]('2021-01-01T07:23:00.000000000'), [login to view URL]('2021-01-01T07:25:00.000000000'), [login to view URL]('2021-01-01T07:26:00.000000000'), [login to view URL]('2021-01-01T07:27:00.000000000'), [login to view URL]('2021-01-14T16:27:00.000000000')] I want to loop through this list and modify it in a specific way. Essentially, any time the difference between two datetime64 objects next to each other in the list is more than one minute, duplicate that datetime64 object and place it after the original one in the list. Any time the difference between two datetime64 objects next to each other in the list is equal to a minute, move on to the next datetime64 object in the list until you come across a difference that is more than a minute. Then, take the first datetime64 object and the last datetime64 object in that range and place them next to each other. So, my final time_list_array would look like this: time_list_array = [[login to view URL]('2021-01-01T07:23:00.000000000'), [login to view URL]('2021-01-01T07:23:00.000000000'), [login to view URL]('2021-01-01T07:25:00.000000000'), [login to view URL]('2021-01-01T07:27:00.000000000'), [login to view URL]('2021-01-14T16:27:00.000000000'), [login to view URL]('2021-01-14T16:27:00.000000000')] Notice how the 1/1/21 7:23:00 datetime64 object was duplicated and added directly after the original. Then, the range from 1/1/21 7:25:00 through 1/1/21 7:27:00 in the original array was shortened to just a start time and end time. Finally, 1/14/21 at 16:27:00 was once again duplicated and added directly after the original. This needs to be formatted in this way to be exported to a txt file and consequently used in an online software program that only accepted txt files in a very specific format. I have tried to find the time delta of time_list_array like so: time_list_array_delta = [login to view URL](time_list_array) And then find the difference in minutes: minutes = time_list_array_delta.total_seconds()/60 But keep getting an error: AttributeError: '[login to view URL]' object has no attribute 'total_seconds' I may be totally off base with my methods, however. Any help would be much appreciated!
ID projekta: 29892242

Več o projektu

8 ponudb
Projekt na daljavo
Aktivno pred 3 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
8 freelancerjev je oddalo ponudbo s povprečno vrednostjo $28 USD za to delo
Avatar uporabnika
Dear employer, Hi I can develop the Python code to organize your list of numpy datetime objects based on your requirements. I am an expert in this field. Would you please send me a message so that we can talk about it more accurately? I am a computer programmer with more than 10 years of working experience using Python, C#, VB.Net, C++, MATLAB, FORTRAN, etc. I can develop your required code with the highest quality and the lowest price. Believe me one time and you will start hiring me as a long term employee. Regards, Abbas
$30 USD v 1 dnevu
5,0 (19 ocen)
4,5
4,5
Avatar uporabnika
Heyy I am python coder and I have experience of more than 5years.I have read your description and would like to work for you.I have already implemented many algorithms and developed many games and management systems using oop and data structures concept and I would like to work for you also Message me so that we can start this Regards Hamza
$20 USD v 1 dnevu
5,0 (22 ocen)
4,2
4,2
Avatar uporabnika
Hi, iam dev Python and i can help you with your logical probleme contact me for more details Best regards
$30 USD v 1 dnevu
4,9 (5 ocen)
3,1
3,1
Avatar uporabnika
I am experienced with both pandas and numpy and I will be happy to help you with your problem. Feel free to PM me.
$20 USD v 2 dneh
4,6 (1 ocena)
1,5
1,5
Avatar uporabnika
I am willing to help you to fix the error and get the desired txt output till the end. I think I have enough python experience to solve this. ** Will continue till the end
$40 USD v 1 dnevu
5,0 (1 ocena)
1,0
1,0
Avatar uporabnika
Hello I have good experience using python with artificial intelligence and using pandas and numpy you can contact me for further info
$30 USD v 2 dneh
5,0 (2 ocen)
0,4
0,4
Avatar uporabnika
I can make this coding for you in 2 days. check out our website for reference and skills. crystal
$30 USD v 2 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava UNITED STATES
Oklahoma City, United States
0,0
0
Član(ica) od apr. 15, 2021

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.