Skip to content
View data-enhanced's full-sized avatar

Block or report data-enhanced

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Jupyter_Notebooks Jupyter_Notebooks Public

    Jupyter Notebook

  2. 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.
    4
    To do this, open Terminal and type:
    5
    
                  
  3. Format output of pandas describe() m... Format output of pandas describe() method
    1
    # Pandas .describe() formatted
    2
    Format 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
    
                  
    4
    When 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
  4. 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
    2
    def get_genre1(x):
    3
        x = json.loads(x)
    4
        if len(x) > 0:
    5
            return x[0]['name']
  5. 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
    
                  
  6. 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