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));
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"
-
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
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
#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) |
# __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) |
Python docstrings can be written following several formats as the other posts showed. However the default Sphinx docstring format was not mentioned and is based on reStructuredText (reST). You can get some information about the main formats in that tuto.
Note that the reST is recommended by the PEP 287
There follows the main used formats for docstrings.
Python docstrings can be written following several formats as the other posts showed. However the default Sphinx docstring format was not mentioned and is based on reStructuredText (reST). You can get some information about the main formats in that tuto.
Note that the reST is recommended by the PEP 287
There follows the main used formats for docstrings.