Posts by ramonfsk • 49 points
6 posts
-
0
votes1
answer635
viewsA: How to get n working day of the month?
I managed to do, even if it looks like a certain gambiarra! kkk for i in range(len(dados)): if(dados['data'][i] == pd.Timestamp(cal.add_working_days(date(anos[i], meses[i], 1), 5))):…
-
1
votes0
answers57
viewsQ: Error during forecast attempt using Xgbregressor
I was assembling some models for data prediction in Machine Learning and ended up stopping at an error during a prediction attempt using the Linearregressor and Xgbregressor algorithms. Below…
-
0
votes1
answer635
viewsQ: How to get n working day of the month?
I’m creating a data model for Machine Learning to get a transaction amount forecast per year/month/day/hour. But I am needing to map the 5th and 10th working day of the month so that my algorithm…
-
2
votes1
answer154
viewsQ: Validate date as holiday or not
Hello, good afternoon, sir! I am creating a Dataframe in which I need to validate whether a day is a holiday or not, so I created a time series in hand and made two loops to validate whether the…
-
0
votes1
answer81
viewsA: List files from a directory containing name, size and last modified PHP files
I got it working! $path = "/media/Development/robotQuerys"; $files = scandir($path); //var_dump($path); //var_dump($files); $dirFiles = array(); foreach($files as $file){ $filename =…
-
0
votes1
answer81
viewsQ: List files from a directory containing name, size and last modified PHP files
I need to make a web application that scans multiple directories, take the "last modified" and use the time to perform a SLA calculation to alert on the user screen. I took a look at some code in…