Skip to content

Instantly share code, notes, and snippets.

import dash
import dash_cytoscape as cyto
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output
import pandas as pd
import numpy as np
import pyodbc
import dash
import dash_cytoscape as cyto
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output
import pandas as pd
import numpy as np
import pyodbc
from skpaulo import SuperScaler
training_data
test_data
scaler = SuperScaler()
scaled_training_data = scaler.fit_transform(training_data)
scaled_test_data = scaler.transform(test_data)
https://github.com/equinusocio/hyper-material-theme/issues/4#issuecomment-273714243
+ [pyenv:22] enable -f /usr/local/bin/../libexec/pyenv-realpath.dylib realpath
+ [pyenv:29] '[' -z '' ']'
++ [pyenv:31] type -p greadlink readlink
++ [pyenv:31] head -1
+ [pyenv:31] READLINK=/usr/bin/readlink
+ [pyenv:32] '[' -n /usr/bin/readlink ']'
+ [pyenv:57] '[' -z '' ']'
+ [pyenv:58] PYENV_ROOT=/Users/paulo/.pyenv
+ [pyenv:62] export PYENV_ROOT
+ [pyenv:65] '[' -z '' ']'
@paw-lu
paw-lu / LICENSE_apache.rst
Last active December 15, 2020 02:33
GitHub renders of licenses written in reStructuredText.
         Apache License
   Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
@paw-lu
paw-lu / Apache-2.0.rst
Created December 15, 2020 04:05
License previews
Copyright {% now 'utc', '%Y' %} {{ cookiecutter.author }}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,

Contributor Guide

Thank you for your interest in improving this project. This project is open-source under the `MIT license`__ and welcomes contributions in the form of bug reports, feature requests, and pull requests.

Here is a list of important resources for contributors:

"""Add Optional typing to Python files."""
import pathlib
import re
from pathlib import Path
def add_optional_typing(file: Path) -> None:
"""Add Optional typing to Python files."""
file_contents = file.read_text()
missing_optional_re = re.compile(r'(\w+: )("?\S+"?)( = None)')