sudo apt-get update
If you don’t have curl, install it:
sudo apt-get install curl
Download the latest Anaconda version from the website (https://www.anaconda.com/products/individual)
Run Anaconda script (the default location is /home/<username>/anaconda3)
Check if it is working:
You should see the version:
conda update conda
conda update anaconda
conda create --name py3 python=3
conda activate py3
conda install <package-name>[=version]
Version is optional.
Make sure each sub-list in the list has the same number of elements in the same order.
In this example, I create a list of three fields: name, subject and marks. Then append them to the list.
Then, you can directly convert a list of lists into a DataFrame using the from_records method.
Population — Collection of all items we are interested in and you want to draw conclusions about.
Population1: All undergraduate students at Purdue University
Population2: All undergraduate students in USA
Sample — Any subset of the population that you use to draw conclusions about the population.
Sample1: Freshmen from population 1
Sample2: A random set of undergraduates from population 1
Sample3: Undergraduates from IVL colleges from population 1
Statistic — A characteristic of a sample (e.g. sample mean)
Parameter — A characteristic of a population (e.g. population mean)
In statistics, we want to know about the population, but it is…
There are 3 elephants, I hear you say.
2. How many elephants are there in the world in total?
There are around 450K elephants around the world. (So, there are not endangered species. At least for now.)
Are these statistical questions?
In the first question, we simply say what we see. So, it is definitely not a statistical question.
How about the second question then? It goes beyond what we see in the picture. But it is still not a statistical question.
Then what are they? They are analytical questions. You…
Here’s the command line to do so:
python -m json.tool <json_file>
You may see the following error message:
Expecting property name enclosed in double quotes
This is because your JSON file is using single quotes. Convert them to double quotes.
cat <json_file> | sed s/\'/\"/g > json_file_updated
Some additional pipes:
Check the first 10 json strings:
python -m json.tool <json_file> | head -n 10
Check the 10th json string:
python -m json.tool <json_file> | head -n 10 | tail -n 1
Resurface of Glupteba malware strain
Amazon CloudFront CDN is vulnerable to card skimming exploit
#probability #statistics #ML #DL #coding #security #building #digest