1 + 1
2
from IPython.display import Image
Image("images/pycon.png")
import twitter_search
twitter_search.find(["#pyconie", "#rupy"])
Name | Tweet |
---|---|
qba73 | @mr_ud : "#Python is awesome" - very interesting talk and demos about Python in science! #PyConIE http://t.co/HohFGefSlH |
cradonn | RT @_ashfall_: Slides for my talk titled "The Twisted Way" earlier today: https://t.co/5zMTXDZZQo #PyConIE |
thegrieve | RT @roguelynn: Prism slides for #pyconie keynote: https://t.co/OaFfMNgFdV - associated blog post: http://t.co/RjN647zySR |
automatthias | Lighting talk topics. Start at 17:30. #PyConIE http://t.co/LWN3aj40j4 |
nailor | RT @_ashfall_: Slides for my talk titled "The Twisted Way" earlier today: https://t.co/5zMTXDZZQo #PyConIE |
paul_cormack | RT @qba73: best cakes, best talks, best community ;-) relax and enjoy 2nd day of the conference! #PyConIE 2013 |
evildmp | If you're taking part in the Don't be afraid to commit workshop at the #PyConIE, take a moment to check requirements: http://t.co/qWt5TIfTUM |
paul_cormack | RT @jaimebuelta: Just uploaded my slides for today's talk at #pyconIE (Make beautiful Python code) http://t.co/WEI7Ovc8RH |
paul_cormack | RT @roguelynn: Prism slides for #pyconie keynote: https://t.co/OaFfMNgFdV - associated blog post: http://t.co/RjN647zySR |
grimborg | RT @roguelynn: Prism slides for #pyconie keynote: https://t.co/OaFfMNgFdV - associated blog post: http://t.co/RjN647zySR |
paul_cormack | RT @_ashfall_: Slides for my talk titled "The Twisted Way" earlier today: https://t.co/5zMTXDZZQo #PyConIE |
qba73 | "#Python community encourage people to ask questions" @AutomatedTester #PyConIE 2013 |
roguelynn | RT @_ashfall_: Slides for my talk titled "The Twisted Way" earlier today: https://t.co/5zMTXDZZQo #PyConIE |
paul_ogrady | RT @luigii249: Very good, important talk about social hierarchies and development communities from @AutomatedTester at #PyConIE |
_ashfall_ | Slides for my talk titled "The Twisted Way" earlier today: https://t.co/5zMTXDZZQo #PyConIE |
Name | Tweet |
---|---|
stuarthalloway | My #RuPy slides "Clojure In Ten Big Ideas" https://t.co/pUqIu90U33 |
pat_shaughnessy | Couldn’t make it to Budapest? @teropa is taking some great, detailed notes on many amazing #rupy talks see: http://t.co/ZtZE5VhHsy |
ashedryden | Difference in garbage collection between ruby and python: ruby is like living with a hoarder, python is like living with a neat freak. #rupy |
AdrienGiboire | Let's meet tonight at Könyvtár klub, just in front of the venue for the last night of @RuPy! #rupy #rupy2013 |
AdrienGiboire | RT @olleolleolle: #rupy Awesome talk on teaching. http://t.co/oL6fK4nyy3 |
_inossidabile | My #rupy talk on Data-Centric security: https://t.co/KTnIJHLUQh |
olleolleolle | #rupy Awesome talk on teaching. http://t.co/oL6fK4nyy3 |
jm_toball | RT @pat_shaughnessy: Couldn’t make it to Budapest? @teropa is taking some great, detailed notes on many amazing #rupy talks see: http://t.c… |
AdrienGiboire | RT @teropa: There was a special lightning talk at @RuPy/#RuPy today http://t.co/GiN7tCBj2Z |
proudlygeek | bits of JavaScript history in Nick Fisher's talk at #rupy |
jplana | RT @pneumark: My #rupy talk on scaling @prezi from 25 to 25 million users: http://t.co/L7MVbTO5VG |
_inossidabile | RT @andreiursan: .@_inossidabile good talk. Looking forward to try #ProtectorGem #rupy http://t.co/f9SdOKzUT4 |
flaper87 | RT @tylersiprova: There is still time to register for the Red Hat prizes at #RuPy! Drawing at 15:30 in our hiring session. |
trekdemo | DigitalNatives’ session starts in 10 minutes - room 3 #RuPy #rupy13 |
andreiursan | .@_inossidabile good talk. Looking forward to try #ProtectorGem #rupy http://t.co/f9SdOKzUT4 |
guestcoder | RT @ManningBooks: Hey #rupy! Save 44% on #Ruby titles and more with code rupycf at http://t.co/OdkWpwUDeg |
_inossidabile | RT @teropa: Notes from @alex_gaynor's talk http://t.co/m4f03N2IJV and from @_inossidabile's talk http://t.co/NmOEwJNQF9 at #RuPy |
_inossidabile | RT @SmartMedia_cz: Make your Rails apps more secure with Protector http://t.co/puMB9hJoWN (for ActiveRecord, Sequel) #rupy #rupy2013 |
from IPython.display import YouTubeVideo
YouTubeVideo("dQw4w9WgXcQ")
%%ruby
(1..10).select { |n| n.even? } .each { |n| puts n }
2 4 6 8 10
a = [1, 2, 3]
print a * 2
[1, 2, 3, 1, 2, 3]
b = np.array([1, 2, 3])
print b * 2
[2 4 6]
c = np.array([[1,2,3],[4,5,6]])
print c.T
[[1 4] [2 5] [3 6]]
x = np.random.randn(1000)
y = np.random.randn(1000)
scatter(x, y)
<matplotlib.collections.PathCollection at 0x1143d5f10>
hist(y)
(array([ 2, 12, 56, 176, 258, 256, 176, 49, 14, 1]), array([-3.70962289, -2.97254236, -2.23546183, -1.4983813 , -0.76130077, -0.02422023, 0.7128603 , 1.44994083, 2.18702136, 2.92410189, 3.66118242]), <a list of 10 Patch objects>)
import pandas
df = pandas.read_csv("aapl.csv")
df[["Open", "Close"]].plot()
<matplotlib.axes.AxesSubplot at 0x115089bd0>
from text.blob import TextBlob
TextBlob("pycon.ie is really great!").sentiment
(1.0, 0.75)
se = twitter_search.get_sentiment(["#pyconie", "#rupy"])
%load_ext rmagic
%Rpush se
%R print(summary(se))
search sentiment objectivity Length:103 Min. :-1.0000 Min. :0.0000 Class :array 1st Qu.: 0.0000 1st Qu.:0.0000 Mode :character Median : 0.0000 Median :0.5000 Mean : 0.1772 Mean :0.4014 3rd Qu.: 0.5000 3rd Qu.:0.7250 Max. : 1.0000 Max. :1.0000
%%R
library('ggplot2')
p <- ggplot(se, aes(search, sentiment, fill=search))
p <- p + geom_boxplot() + geom_jitter()
print(p)