Basic syntax, basic operators and functions of R language
Basic syntax, basic operations and functions of R language
The following code details the basic syntax and arithmetic operators, relational operators, logical operators and some basic mathematical functions of R language
Mathematical operator
The following table lists the main mathematical operators and their operation order:
prioritySymbol ...
Added by john6384 on Fri, 19 Nov 2021 06:21:46 +0200
Half an hour a day: ten sets of exercises in introduction Python and Pandas library will take you to learn data analysis
Pandas is an open source, BSD licensed library that must be mastered when starting Python to do data analysis. It provides high-performance, easy-to-use data structures and data analysis tools. The main data structures are Series (one-dimensional data) and DataFrame (two-dimensional data), which are sufficient to deal with most typical use ...
Added by chrispols on Thu, 18 Nov 2021 15:32:18 +0200
TypeScript basic data type
catalogue
preface
variable
Boolean
Digital type
String type
undefined and null types
undefined type
null type
void type
any type
unknown type
never type
Array type
Tuple type
object type
Enumeration type
Data type enumeration
Character enumeration
Heterogeneous enumeration
Multiple types
summary
preface
TypeScrip ...
Added by marky2coats on Sat, 13 Nov 2021 01:47:09 +0200
python crawler what has the final say? Love to download any novels, and decide for themselves.
"The ancients' knowledge is weak, but their Kung Fu can only be achieved when they are young and old."
What has the final say of python crawler love? What kind of novels do you like to download? You can count on yourself. Download the crawler tutorial in super detailed novels, Download novels with python, and read novels whenever an ...
Added by gazfocus on Fri, 12 Nov 2021 14:21:45 +0200
Revisit Python data analysis (pandas, numpy, and matplotlib)
1 pandas Library
Our general alias is pd:
import pandas as pd
pandas can not only read data from a variety of different file formats, but also have a variety of data processing functions.
1.1 using pandas to read csv files
The pandas module provides a read_ csv method, you can directly read the csv file and return a DataFrame object. ...
Added by alanrenouf on Wed, 10 Nov 2021 10:36:45 +0200
numpy array usage
1, Basic usage of Numpy array
1. Numpy is a Python scientific computing library used to quickly process arrays of arbitrary dimensions.
2. NumPy provides an N-dimensional array type ndarray, which describes a collection of "items" of the same type.
3. numpy.ndarray supports vectorization.
4. NumPy is written in c language, and the GIL ...
Added by ricky spires on Sun, 07 Nov 2021 23:52:29 +0200
SQL written test for data analysis post of an Internet company
Hello, everyone. I'm Mr. Tony, who only talks about technology and doesn't cut his hair.
Recently, a friend shared that he participated in the internship interview of data analyst of an Internet (live delivery) company. The following is my analysis of relevant SQL test questions. The database used is MySQL 8.0.
If you find the article useful, ...
Added by johnbruce on Sun, 07 Nov 2021 22:43:46 +0200
Summary of text type data processing in pandas
1. Case conversion and filling of English letters
s = pd.Series(['lower', 'CAPITALS', 'this is a sentence', 'SwApCaSe'])
Uppercase to lowercase: s.str.lower()Lowercase to uppercase: s.str.upper()Change to news title form: s.str.title()The first letter is uppercase, and the rest is lowercase: s.str.capitalize()Convert the original upperca ...
Added by immunity on Sun, 31 Oct 2021 12:31:52 +0200
Python rewrites a method to extract administrative divisions in a string
Creative background
This dish chicken recently encountered such a column of data during data analysis, as shown in the figure What I want to do is:
Extract the administrative divisions and names. eg: Jiangsu Province, Beijing. The goal has been achieved, see article. Like pd.to_ Time can be called after datetime()_ Series.dt.year returns ...
Added by Zyxist on Sat, 30 Oct 2021 17:39:58 +0300
Pandas data processing -- playing with time series data
In financial data analysis or quantitative research, the processing of time series data can not be avoided. Time series refers to the value sequence of a variable measured in time order within a certain time. Common time series data include temperature series that change with time in a day, or stock price series that fluctuate continuously duri ...
Added by D1proball on Tue, 26 Oct 2021 04:15:28 +0300