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 | |
| sudo apt-get update | |
| sudo apt-get --fix-missing install python-mpltoolkits.basemap python-numpy python-matplotlib |
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
| <h3> <p [ngStyle]="{backgroundColor:getColor()}" [ngClass]="{online: 'online'==='online'}">Oozie Workflow Maker </p></h3> | |
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 scala.util.parsing.json._ | |
| val result = JSON.parseFull(""" | |
| {"name": "Naoki", "lang": ["Java", "Scala"]} | |
| """) | |
| result match { | |
| case Some(e) => println(e) // => Map(name -> Naoki, lang -> List(Java, Scala)) | |
| case None => println("Failed.") | |
| } |
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 | |
| vtx=pd.read_csv("vtx.tsv", sep=" ") | |
| edge=pd.read_csv("edge.tsv", sep=" ") | |
| edge = edge[edge[':START_ID'].isin(vtx["id:ID"])] | |
| edge = edge[edge[':END_ID'].isin(vtx["id:ID"])] | |
| edge.to_csv("edge2.tsv", sep=" ", index=False, header = True) | |
| # https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf |
OlderNewer