I need to select from an employee table the names of those who are supervisors and those who are not. Therefore, I need two separate columns to return, one for
t = {"Harvard": [43280, 51143], "Brown": [53419, 62680], "Columbia": [10968, 30257]} t_pct_change = round((end - start)/start * 100, 2) list_tuples = [(k, ro
I have looked around and I can't really find an answer I can understand or it doesn't apply to me. I have this class: class Node { public int value; pu
I am trying to use PostgreSQL so that I can deploy to Heroku. However I cannot run localhost anymore why? I get the following message: PG::ConnectionBad FATAL:
I have a Ruby (non-Rails) app that uses Grape to expose API endpoints. One of the endpoints requires a parameter that is an array of values, but accepts an empt
I am trying to create a bucket of corresponding regions from string values of country codes. I have written a code using for loop and nested if conditions as be
My goal is to extract data from a raster for a set of polygon locations. The raster has many numeric variables and some categorical. I would like to extract the
In my app i am using firebase as a backend for storing data and there's a case where i have to upload multiple images as a preview images to firebase which work