This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from deepchecks.suites import single_dataset_integrity | |
| integ_suite = single_dataset_integrity() | |
| integ_suite.run(test_dataset=df) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import pandas as pd; import deepchecks; | |
| from deepchecks.datasets.classification.phishing import load_data | |
| df = load_data(data_format='dataframe', as_train_test=False) | |
| df.head(5) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
| sudo apt-get install build-essential cmake | |
| sudo apt-get install python-dev python3-dev | |
| #Optional: so vim can be uninstalled again via `dpkg -r vim` | |
| sudo apt-get install checkinstall | |
| sudo rm -rf /usr/local/share/vim /usr/bin/vim | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # --- script documentation | |
| # recieves two arrays as input using the length prefix convention. See: | |
| # https://stackoverflow.com/questions/43686878/pass-multiple-arrays-as-arguments-to-a-bash-script | |
| # add mandatory packages here | |
| # packages+=("pandas") | |
| echo ">>> conda_envs: ${conda_envs[@]}" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import os | |
| import pytest | |
| try: | |
| from.temp_env_var import TEMP_ENV_VARS, ENV_VARS_TO_SUSPEND | |
| except ImportError: | |
| TEMP_ENV_VARS = {} | |
| ENV_VARS_TO_SUSPEND = [] | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | image: python:3.8.3 | |
| # pipeline stages definitions | |
| test: &test | |
| step: | |
| name: test | |
| caches: | |
| - pip | |
| script: | |
| - python --version | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @pytest.mark.parametrize("parallelize", [True, False]) | |
| def test_rubin(parallelize): | |
| if parallelize: | |
| run_parallel() | |
| else: | |
| foo() | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | " :echom "Loading Shay's .vimrc!" | |
| " === vim-plug plugin manager === | |
| " automatic installation of vim-plug itself, if missing | |
| if empty(glob('~/.vim/autoload/plug.vim')) | |
| :echom "vim-plug is missing. Installing vim-plug..." | |
| silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
| \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
| endif | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | matrix: | |
| include: | |
| - name: "Python 3.5.4 on Windows" | |
| os: windows # Windows 10.0.17134 N/A Build 17134 | |
| language: shell # 'language: python' is an error on Travis CI Windows | |
| before_install: | |
| - choco install python --version 3.5.4 | |
| - python --version | |
| - python -m pip install --upgrade pip | |
| - pip3 install --upgrade pytest | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | matrix: | |
| include: | |
| - name: "Python 2.7.14 on macOS 10.13" | |
| os: osx | |
| osx_image: xcode9.3 # Python 2.7.14_2 running on macOS 10.13 | |
| language: shell # 'language: python' errors on Travis CI macOS | |
| before_install: | |
| - python --version | |
| - pip install pytest --user | |
| - pip install codecov --user |