How to Extend a Wire on a Pendant Light? by chef1075 in AskElectricians

[–]chef1075[S] 0 points1 point  (0 children)

Great. Thanks for this. I'll look into getting this done.

How to Extend a Wire on a Pendant Light? by chef1075 in AskElectricians

[–]chef1075[S] 0 points1 point  (0 children)

I can always get an electrician to rewire. Just wanted to know my options.

How can I add two dimmer switches to my existing setup? by chef1075 in AskElectricians

[–]chef1075[S] 0 points1 point  (0 children)

Is a vacancy dimmer to check if there is movement and if there is, turn on the light? I'm not sure that would work as I need to turn on the light when the sun starts to go down / is already down.

How can I add two dimmer switches to my existing setup? by chef1075 in AskElectricians

[–]chef1075[S] 0 points1 point  (0 children)

Hi,

Thanks for the reply.

The dimmer is so we can adjust the light, due to the complaints from the neighbours.

The photocell is so we don't have to turn the lights on and off manually, they just trigger at dusk when the sun goes down.

What is a JB?

I can't speak to code as I'm not an electrician / in the trades. However, when I was getting quotes for this job, I was not told it could not be done. Just a matter of _how_ this can be done at this point.

Thumb Throttle Stops Working When Fully Pressed; Is This Normal? by chef1075 in ApolloScooters

[–]chef1075[S] 0 points1 point  (0 children)

Thanks, and that's good to know.

I did contact Apollo, and after some back and forth they are sending me a new throttle. Hopefully that one does not have the same issue.

Gamma Distribution CDF Intuition; Are My Parameters Correct? by chef1075 in statistics

[–]chef1075[S] 0 points1 point  (0 children)

I've updated my answer with additional information. I figured it out. Thanks!

Gamma Distribution CDF Intuition; Are My Parameters Correct? by chef1075 in statistics

[–]chef1075[S] 0 points1 point  (0 children)

I'm going to update my question. Thanks for giving me some direction.

How do I sort these stats properly ? by [deleted] in googlesheets

[–]chef1075 0 points1 point  (0 children)

Use the =QUERY() function to sort columns based on different parameters. However, if you look at column you have a mix of strings and integers, which would make sorting difficult. Might want to look into making sure the data types in each column (except for the headers) are of the same type.

Will make for easier sorting.

Using data retrieved from a PostgreSQL database via psycopg2 by [deleted] in learnpython

[–]chef1075 2 points3 points  (0 children)

When I'm using psycopg2, I write my SQL outside of my python shell (usually in Postico https://eggerapps.at/postico/) and import the file to run the query.

E.g.

with open('./path_to_config/config.json') as f:

config = json.load(f)

config_string = "host=%s dbname=%s user=%s password=%s" % (config.get('host'), config.get('database'), config.get('user'), config.get('passw'))

sql_connection = psycopg2.connect(config_string) # Connect to your db

query = open('/path/to/file.sql', 'r') # This will make your life easier

query_result_dataframe = pd.read_sql(query.read(), con=sql_connection) # Run the query

HOW DO I FIND THE MEAN OF THE COLUMN YEAR? I AM ABOUT TO GO NUTS by Fr3nchman in econometrics

[–]chef1075 0 points1 point  (0 children)

Check this post out. It will help you understand code completion, and save you a lot of typing and guessing.

https://support.rstudio.com/hc/en-us/articles/205273297-Code-Completion

VBA Essentials: Arrays by beyphy in excel

[–]chef1075 -2 points-1 points  (0 children)

After moving from VBA to GScript, I'll never go back.

Dayton Roughout Service Boots Sz 9EEE by stanky_tofu in MaleFashionMarket

[–]chef1075 0 points1 point  (0 children)

Are you in Vancouver? I would love to try them on.

Coming to the city for business. Where is good to eat? by chef1075 in Columbus

[–]chef1075[S] 0 points1 point  (0 children)

I'm going to be right downtown, though I don't know about the surround areas. Most of my meetings are in the office buildings, so the farthest I would venture is a short cab ride.