David Cochran data-enhanced
Follow Data Science Professor and Dean of the School of Business & Technology, Newman University, Wichita, KS 26 followers · 7 following- Newman University
- Wichita, KS
- https://newmanu.edu/academics/graduate-programs/ms-data-science
- in/davidcochran
Achievements

Achievements
Highlights
- Pro
Block or report data-enhanced
Report abuseContact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abuse MorePinned Loading
-
Jupyter_Notebooks Jupyter_Notebooks Public
Jupyter Notebook
-
Change default browser for Jupyter N... Change default browser for Jupyter Notebooks in Mac OS X
1
# Change the Default Browser for Jupyter Notebooks in OS X
2 3## Step 1. Create an editable config file for Jupyter notebooks.
4To do this, open Terminal and type:
5 -
Format output of pandas describe() m... Format output of pandas describe() method
1
# Pandas .describe() formatted
2Format numbers output from the pandas df.describe() method. For instance, instead of outputting scientific notation, we can have numbers with thousands separators and a desired number of decimals.
3 4When using .describe with an entire dataframe, use .apply and a lambda function to apply the formatting to every number.
5- To change the number of decimals, change the number before the f
-
Apply a function to a pandas column Apply a function to a pandas column
1
# Define a function to get the name field from the first item in a dictionary list
2def get_genre1(x):
3x = json.loads(x)
4if len(x) > 0:
5return x[0]['name']
-
Cryptocurrency data scraper in R -- ... Cryptocurrency data scraper in R -- script to utilize JesseVent/crypto
1
# Install and use crypto scraper from
2# https://github.com/JesseVent/crypto
3 4# This script is written to be used by running the desired line(s) separately, often one line at a time
5 -
Turn off autocompletion (intellisens... Turn off autocompletion (intellisense) in MS Visual Studio Code
1
// Turn off autocomplete in Visual Studio Code
2// http://code.visualstudio.com/
3 4// Add the following lines to user settings
5
If the problem persists, check the GitHub status page or contact support.
Uh oh!
There was an error while loading. Please reload this page.