This file contains 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 plotly.plotly as py | |
import pandas as pd | |
df = pd.read_csv('2014_world_gdp_with_codes.csv') | |
data = [ dict( | |
type = 'choropleth', | |
locations = df['CODE'], | |
z = df['GDP (BILLIONS)'], | |
text = df['COUNTRY'], |
This file contains 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
package net.floodlightcontroller.natcs5229; | |
import net.floodlightcontroller.core.FloodlightContext; | |
import net.floodlightcontroller.core.IListener; | |
import net.floodlightcontroller.core.IOFMessageListener; | |
import net.floodlightcontroller.core.IOFSwitch; | |
import net.floodlightcontroller.debugcounter.IDebugCounter; | |
import net.floodlightcontroller.core.module.FloodlightModuleContext; | |
import net.floodlightcontroller.core.module.FloodlightModuleException; | |
import net.floodlightcontroller.core.module.IFloodlightModule; |
There are certain files created by particular editors, IDEs, operating systems, etc., that do not belong in a repository. But adding system-specific files to the repo's .gitignore
is considered a poor practice. This file should only exclude files and directories that are a part of the package that should not be versioned (such as the node_modules
directory) as well as files that are generated (and regenerated) as artifacts of a build process.
All other files should be in your own global gitignore file. Create a file called .gitignore
in your home directory and add anything you want to ignore. You then need to tell git where your global gitignore file is.
git config --global core.excludesfile ~/.gitignore
git config --global core.excludesfile %USERPROFILE%\.gitignore
-
78. Subsets - Ye samaj aa gya aur nhi bhi
This file contains 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
time | AirPassengers | ||
---|---|---|---|
1 | 1949 | 112 | |
2 | 1949.08333333333 | 118 | |
3 | 1949.16666666667 | 132 | |
4 | 1949.25 | 129 | |
5 | 1949.33333333333 | 121 | |
6 | 1949.41666666667 | 135 | |
7 | 1949.5 | 148 | |
8 | 1949.58333333333 | 148 | |
9 | 1949.66666666667 | 136 |
This file contains 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
COUNTRY | GDP (BILLIONS) | CODE | |
---|---|---|---|
Afghanistan | 21.71 | AFG | |
Albania | 13.40 | ALB | |
Algeria | 227.80 | DZA | |
American Samoa | 0.75 | ASM | |
Andorra | 4.80 | AND | |
Angola | 131.40 | AGO | |
Anguilla | 0.18 | AIA | |
Antigua and Barbuda | 1.24 | ATG | |
Argentina | 536.20 | ARG |
This file contains 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 plotly.plotly as py | |
import plotly.graph_objs as go | |
import pandas as pd | |
iris = pd.read_csv("iris.csv") | |
data = [go.Histogram(x=iris['sepal_length'].tolist())] | |
layout = go.Layout(title='Iris Dataset - Sepal.Length', | |
xaxis=dict(title='Sepal.Length'), |
This file contains 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
Last login: Tue Sep 5 13:28:31 on ttys000 | |
~/.config/fish/functions/rvm.fish (line 1): | |
404: Not Found | |
^ | |
from sourcing file ~/.config/fish/functions/rvm.fish | |
called on line 1 of file ~/.config/fish/config.fish | |
in command substitution | |
called on line -1 of file ~/.config/fish/config.fish |
This file contains 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
➜ Build-in-Progress-Web git:(master) gem pristine executable-hooks --version 1.3.2 | |
Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2 | |
Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7 | |
Error loading RubyGems plugin "/Users/chaitanyagupta/.rvm/gems/ruby-2.1.7@global/gems/executable-hooks-1.3.2/lib/rubygems_plugin.rb": cannot load such file -- executable-hooks/wrapper (LoadError) | |
Error loading RubyGems plugin "/Users/chaitanyagupta/.rvm/gems/ruby-2.1.7@global/gems/gem-wrappers-1.2.7/lib/rubygems_plugin.rb": cannot load such file -- gem-wrappers (LoadError) | |
Restoring gems to pristine condition... | |
Building native extensions. This could take a while... | |
ERROR: While executing gem ... (Gem::Ext::BuildError) | |
ERROR: Failed to build gem native extension. |
NewerOlder