echo "# sample_git_tweak" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:nipunsadvilkar/sample_git_tweak.git
git push -u origin master
# __author__: kapoorabhish, nipunsadvilkar | |
import requests | |
user_name = "uname" | |
password = "*******" | |
file_url = "url" | |
r = requests.post(file_url, data={"umlsuser": user_name, "umlspw": password}, | |
stream=True) |
#unique number of values in a DataFrame column | |
df[column_name].nunique() | |
# List unique values in a DataFrame column | |
pd.unique(df.column_name.ravel()) | |
# Convert Series datatype to numeric, getting rid of any non-numeric values | |
df['col'] = df['col'].astype(str).convert_objects(convert_numeric=True) | |
(http://stackoverflow.com/questions/17071871/select-rows-from-a-dataframe-based-on-values-in-a-column-in-pandas) |
Generally java source code is arranged as like:
/bin - empty folder that will contain compiled .class files
/lib - contains third party .jar files
/src - contains .java source files
Refer: http://www.sergiy.ca/how-to-compile-and-launch-java-code-from-command-line/
so for our setup let's setup environment first using following steps
-
Linux Anaconda Installation (Anaconda conveniently installs Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science. )
-
Under Linux Anaconda Installation (copy link of 64 bit):
On Terminal
curl -vX POST http://server/api/v1/places.json -d @testplace.json \
--header "Content-Type: application/json"
curl -vX REQUEST url -d @filepath -H "Content-Type:application/json"
ALTER TABLE `analytics` ADD `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY
SELECT count(distinct encounter_id) FROM `analytics`
CREATE INDEX registration_no ON analytics(registration_no(30));
CREATE INDEX subsection ON analytics(subsection(50));
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font: 10px sans-serif; | |
} | |
.axis path, | |
.axis line { |
These tips have been collected through the years from professors, past and present. You can also check out the Learning How To Learn coursera for other general tips
In a conceptual class such as this, it is particularly important to maintain a steady effort throughout the semester, rather than hope to cram just before homework deadlines or exams. This is because it takes time and practice for the ideas to sink in. Make sure you allocate a sufficient number of hours every week to the class, including enough time for understanding the material as well as for doing assignments. (As a rough guide, you should expect to do at least three hours of problem solving for each hour of lecture.) Even though this class does not have any major projects for undergraduate students, you should plan to spend as much time on it as on any of your other technical classes. Possibly even more.
The homeworks are explicitly designed **to help you to learn the materi
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/