Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Pyinstaller error
Post: Pyinstaller error
Hello, I have created a program for which I want to create an exe. file for.
But I keep getting an error, and I have no clue how to fix it.
The program is made with a Tkinter GUI and uses multiple sc... |
|
amdi40 |
General Coding Help |
7 |
2,855 |
Jun-04-2022, 09:10 AM |
|
|
Thread: reduce time series based on sum condition
Post: reduce time series based on sum condition
Hello i am trying to reduce the amount of zeros in a timeseries as i only need a period of 24 hour without rain before the condition does not change
The script so far looks like this, but the amount o... |
|
amdi40 |
Data Science |
0 |
1,078 |
Apr-06-2022, 09:09 AM |
|
|
Thread: How to accumulate volume of time series
Post: RE: How to accumulate volume of time series
I might have been too quick to ask my question xd
I still want to do this
intensity
0.1
0.2
0.1
0.1
0.0
0.0
0.2
And I want to be able to calculate the accumulated rain like this:
0.1
0.2+0.1
0.1+0.3... |
|
amdi40 |
Data Science |
3 |
2,259 |
Feb-15-2022, 02:23 PM |
|
|
Thread: How to accumulate volume of time series
Post: RE: How to accumulate volume of time series
(Feb-14-2022, 11:25 AM)perfringo Wrote: pandas has built-in cumsum()
Thanks, that was exactly what I was looking for! :D |
|
amdi40 |
Data Science |
3 |
2,259 |
Feb-14-2022, 11:34 AM |
|
|
Thread: How to accumulate volume of time series
Post: How to accumulate volume of time series
Hello, I am working with a time series containing rain. the data looks like
intensity
0.1
0.2
0.1
0.1
0.0
0.0
0.2
And I want to be able to calculate the accumulated rain like this:
0.1
0.2+0.1
0.1+0... |
|
amdi40 |
Data Science |
3 |
2,259 |
Feb-14-2022, 11:10 AM |
|
|
Thread: Get string from entry and use it in another script
Post: Get string from entry and use it in another script
Hello, I am trying to insert a file path in an entry in my GUI. I then want to save this entry, as I need the path in another script that I have made. I am however unsure how to do this. I have tried ... |
|
amdi40 |
GUI |
1 |
1,345 |
Jan-26-2022, 08:29 AM |
|
|
Thread: Insert missing data in a dataframe
Post: RE: Insert missing data in a dataframe
(Jan-19-2022, 08:51 AM)perfringo Wrote: (Jan-19-2022, 07:47 AM)amdi40 Wrote: as it can be seen, nan values would be inserted in the wrong places too
Nan values will be inserted if indices are not ... |
|
amdi40 |
Homework |
7 |
2,100 |
Jan-19-2022, 08:55 AM |
|
|
Thread: Insert missing data in a dataframe
Post: RE: Insert missing data in a dataframe
Thank you for the answer!
This would work if the start time of a rain event always were an uneven number, the problem is that it can start at both even and uneven times, which is why I was not able to... |
|
amdi40 |
Homework |
7 |
2,100 |
Jan-19-2022, 07:47 AM |
|
|
Thread: Insert missing data in a dataframe
Post: RE: Insert missing data in a dataframe
Thanks for the replies
it is not that i am lazy, im just retarded
But the code so far is
import datetime
import os
from datetime import timedelta
from pathlib import Path
import pandas as pd
# dt... |
|
amdi40 |
Homework |
7 |
2,100 |
Jan-17-2022, 02:40 PM |
|
|
Thread: Insert missing data in a dataframe
Post: Insert missing data in a dataframe
Hello question about a time series again xd
I have a long time series, where I have data of rain intensity with a deltatime of 2 minutes, it does however not fill out the time where no rain was detec... |
|
amdi40 |
Homework |
7 |
2,100 |
Jan-16-2022, 02:15 PM |
|
|
Thread: change item in column based on the item before[solved]
Post: RE: change item in column based on the item before...
I have also tried
import os
from pathlib import Path
import pandas as pd
import datetime
def convert_file():
# Set start directory same as script
os.chdir(os.path.abspath(os.path.dirname(__fi... |
|
amdi40 |
Homework |
4 |
1,708 |
Jan-11-2022, 04:50 PM |
|
|
Thread: change item in column based on the item before[solved]
Post: RE: change item in column based on the item before
(Jan-11-2022, 10:03 AM)amdi40 Wrote: (Jan-10-2022, 12:01 PM)Larz60+ Wrote: Your code can be greatly simplified.
The following opens the input spreadsheet you supplied, and writes it back out as a... |
|
amdi40 |
Homework |
4 |
1,708 |
Jan-11-2022, 10:05 AM |
|
|
Thread: change item in column based on the item before[solved]
Post: RE: change item in column based on the item before
(Jan-10-2022, 12:01 PM)Larz60+ Wrote: Your code can be greatly simplified.
The following opens the input spreadsheet you supplied, and writes it back out as a csv.
It does nothing to modify the dat... |
|
amdi40 |
Homework |
4 |
1,708 |
Jan-11-2022, 10:03 AM |
|
|
Thread: change item in column based on the item before[solved]
Post: change item in column based on the item before[sol...
Hello I would like to be able to compare a number with another number, and if the numbers are equal to each other, then I would like to add a number to the last number. Example:
[Var... |
|
amdi40 |
Homework |
4 |
1,708 |
Jan-10-2022, 11:22 AM |
|
|
Thread: How to read rainfall time series and insert missing data points
Post: RE: How to read rainfall time series and insert mi...
Hello, I am working together with Mads, and wanted to say thanks!
I will try to see if the post can be moved to the homework section :)
There is however a problem with the code which I am unsure how ... |
|
amdi40 |
General Coding Help |
4 |
2,123 |
Jan-06-2022, 10:39 AM |