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
Remove-Item alias:rm -ErrorAction SilentlyContinue | |
If (Test-Path alias:curl) { Remove-Item alias:curl }; | |
Set-Alias which Get-Command | |
function la { eza -ahlo --git --git-ignore @args } | |
function activate { |
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
def tweak_twitter(df: pd.DataFrame) -> pd.DataFrame: | |
df = df.copy(deep=False) | |
normalised_columns = {col: col.replace(' ', '_') for col in df.columns} | |
df = df.rename(columns=normalised_columns) | |
# filter uninteresting columns | |
excluded_columns = [ | |
'permalink_clicks', 'app_opens', 'app_installs', 'email_tweet', 'dial_phone', | |
] | |
excluded_columns += [col for col in df.columns if 'promoted' in col] | |
df = df.drop(columns=excluded_columns) |
https://hackmd.io/axI1tQdwQB2pTJKt5XdY5w#Next-gen-conda-recipe-spec
It would be great if there was a better story for optional dependencies.
The special-casing of test requirements is inconsistent with the requirements for host/build/run.
The fact that you can't independently install the test dependencies is a huge usability wart and suggests there should be a better way of supporting them.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#include <iostream> | |
#include <vector> | |
#include <mkl.h> | |
#include <mkl_df.h> | |
using namespace std; | |
int main () { | |
const int nx = 11; // #rows in x | |
const int ny = 1; // #cols in y |