[ Launch: INFO247 / Lab 5 / #1 ] 5009672 by seekshreyas[ Launch: lab5_1 ] 5001505 by poezn
"""quick way to create a data frame to try things out""" | |
df = pd.DataFrame(np.random.randn(5, 4), columns=['a', 'b', 'c', 'd']) | |
df['A'] """ will bring out a col """ df.ix[0] """will bring out a row, #0 in this case""" | |
"""Given a dataframe df to filter by a series s:""" | |
df[df['col_name'].isin(s)] | |
"""to do the same filter on the index instead of arbitrary column""" | |
df.ix[s] |
<?xml version="1.0"?> | |
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> | |
<cross-domain-policy> | |
<site-control permitted-cross-domain-policies="all"/> | |
<allow-access-from domain="*" /> |
# Qt Mac Deployment Script | |
# --------------------------- | |
# Generate Build By : | |
$ QtSDK/Desktop/Qt/474/gcc/bin/macdeployqt MyApp.app | |
# Verify Build By | |
$ otool -L MyApp.app/Contents/MacOS/MyApp |
# Shell command that finds and delete all .svn files | |
find . -type d -name ".svn" -exec sudo rm -Rf {} \; |
# reference url : http://stackoverflow.com/questions/1260748/how-do-i-remove-a-git-submodule | |
# 1. Set path_to_submodule var (no trailing slash): | |
path_to_submodule=path/to/submodule | |
# 2. Delete the relevant line from the .gitmodules file: | |
git config -f .gitmodules --remove-section submodule.$path_to_submodule | |
# 3. Delete the relevant section from .git/config | |
git config -f .git/config --remove-section submodule.$path_to_submodule |
[ Launch: INFO247 / Lab 5 / #2 ] 5009743 by seekshreyas[ Launch: INFO247 / Lab 5 / #1 ] 5002769 by poezn[ Launch: lab5_1 ] 5001505 by poezn
[ Launch: INFO 247 - Lab 7 - #1 - Draw Squares (full code) ] 5113147 by seekshreyas[ Launch: INFO 247 - Lab 6 - #1 ] 5054769 by poezn[ Launch: INFO 247 - Lab 6 - #1 ] 5054734 by poezn
[ Launch: INFO 247 - Lab 7 - #2 - Color Scales ] 5113234 by seekshreyas[ Launch: INFO 247 - Lab 7 - #1 - Draw Squares (full code) ] 5111589 by poezn[ Launch: INFO 247 - Lab 6 - #1 ] 5054769 by poezn[ Launch: INFO 247 - Lab 6 - #1 ] 5054734 by poezn
[ Launch: INFO 247 - Lab 7 - #4 - Transformations ] 5113353 by seekshreyas[ Launch: INFO 247 - Lab 7 - #1 - Draw Squares ] 5111933 by poezn[ Launch: INFO 247 - Lab 6 - #1 ] 5054734 by poezn