Categories
Mastering Development

import multiple excel files to pandas and export to multiple stata files

my raw excels files are[excel_1,excel_2,…,excel_3], at first I want to import them into dataframes and then append them into a big dataframe, then df.to_dta, but python shows error and said: Memoryerror. I guess the problem is the appended dataframe is too big. so I thought I could transform each excel files to each stata file […]

Categories
Mastering Development

Accessing predictions as arrays in a custom loss function

I have this custom loss function in my tensorflow model: def loss(y_real, y_pred): k = 0.0 # some stuff here return k y_pred is a matrix. For my specific problem, I really need to access y_pred as an array, not a tf.Tensor, the tensor is really not useful at all for my problem and I […]

Categories
Development Linux

How do I restore Gnu/Linux after using grsync?

I used grsync to back up the the whole OS “/” not just /home to a usb. Now I want to reinstall Gallium OS to a SD card (it is currently running the internal storage of my Chromebook) and use the backup from the usb to do it, but I dont know how to do […]

Categories
Development

Send daily notification mail from asp.net mvc web app [closed]

I’ve developed a C# web app MVC that gets some information from another site (Trello) through API calls, and allows the user to do some actions like printing an .xls file with all card details. Now, I want to implement a functionality that sends every day at a specific time in background a mail to […]

Categories
CMS Development Wordpress

Send a JSON Data from a Form in WP to external API

I maked a FORM in WP but I need to send all the data from the FORM to external API in JSON Data, but I dont know how to do that, I just need any explain how to do that. Thanks

Categories
Development

How to register a buttonhandler (nested class)

I am trying to register my button, but I don’t know how to do that, I have created a nested class ButtonHandler implementing EventHandler to define its action. I’ve tried the code musicRecord.setOnAction(new ButtonHandler()); , and it doesnt seem to work, I want to register the ButtonHandler to musicRecord. musicRecord = new Button(“Create a Music […]