Peter Grant
Senior Scientific Engineering Associate at Lawrence Berkeley National Laboratory
Expertise: Data science and python
Education: Stanford University; University of Colorado, Boulder

Peter Grant is a building energy efficiency expert at Lawrence Berkeley National Laboratory. Grant received his M.S. in architectural engineering from the University of Colorado Boulder and a graduate certificate in innovation and entrepreneurship from Stanford. He’s worked as an energy efficiency expert and engineer since 2007.

Sort By
Most Recent
Most Recent
27 Articles
Jun 30, 2022
Here’s how to solve your datetime, Pandas indices and daylight saving time nightmares.
Jun 14, 2022
Do you need to improve your regression model’s performance? Use this sample Python code to help you find residuals in your own projects.
May 17, 2022
This quick how-to will introduce you to the Python float function and show you how you can create them yourself.
May 12, 2022
Do you need to ditch your outliers? Here’s how to find (and remove) outliers in your data set with IQR.
automate data analysis
May 03, 2022
In this step-by-step tutorial, I’ll show you how to automate your data analysis using a real-world problem.
May 03, 2022
Here are six things you need to know about using these powerful tools in order to write more Pythonic code.
Mar 03, 2022
Are you looking to try your hand at programming in Python but not sure where to start? Anaconda will make your life a lot easier.
Jan 11, 2022
Use this step-by-step guide to start creating subplots in Matplotlib.
how to speed up pandas panda in a tree
Dec 16, 2021
OK, actually just get out of Pandas. Try NumPy, instead.
Dec 14, 2021
Here’s how to choose the right model for your data through development, validation and testing.
Dec 02, 2021
Bias and variance are key concepts in data science and model development. Here’s what they mean and some tips on how to improve your model.
scikit-learn programmer's hands visible at laptop with overlay of data visualizations
Nov 19, 2021
This introduction to scikit-learn will have you applying AI in no time. Leverage these powerful Python tools to do the heavy lifting for you.