Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts
Saturday, September 1, 2018
Start Python for C, C++ programmmer
Python Tutorial
http://docs.python.org/2/tutorial/index.html
Matplot Lib.
http://coreapython.hosting.paran.com/manual/Matplotlib%20-%20pylab%20-%20matlab%20style%20python%20plotting%20(plots,%20graphs,%20charts).htm (Korean Version)
Python: Tips 1
sprintf in Python
------------------------------
How to do a sprintf in Python
http://www.johnkerl.org/python/sprintf.html
[Tutor] sprintf-like functionality in Python
http://mail.python.org/pipermail/tutor/2003-August/024921.html
Python/파이썬] C언어의 sprintf 함수 구현 예제
http://mwultong.blogspot.com/2007/01/python-c-sprintf.html
gmtime conversion in Python
------------------------------
Python time gmtime() Method
http://www.tutorialspoint.com/python/time_gmtime.htm
import time
time.gmtime(xxxxxxxxx.xxx)
Python isNumber
------------------------------
http://mwultong.blogspot.com/2007/01/python-isnumber-isnum-isnumeric.html
def isNumber(s):
try:
float(s)
return True
except ValueError:
return False
------------------------------
How to do a sprintf in Python
http://www.johnkerl.org/python/sprintf.html
[Tutor] sprintf-like functionality in Python
http://mail.python.org/pipermail/tutor/2003-August/024921.html
Python/파이썬] C언어의 sprintf 함수 구현 예제
http://mwultong.blogspot.com/2007/01/python-c-sprintf.html
gmtime conversion in Python
------------------------------
Python time gmtime() Method
http://www.tutorialspoint.com/python/time_gmtime.htm
import time
time.gmtime(xxxxxxxxx.xxx)
Python isNumber
------------------------------
http://mwultong.blogspot.com/2007/01/python-isnumber-isnum-isnumeric.html
def isNumber(s):
try:
float(s)
return True
except ValueError:
return False
Friday, August 31, 2018
Python: DataFrame2
Basic
Starting out with Python Pandas DataFrames
The Pandas DataFrame – loading, editing, and viewing data in Python
1. head(), tail()
is it possible mid data, not head or tail?
df.iloc[[row_start:row_end],[column_start:column_end]]
2. describe()
separate data each type, and then use the describe() function
3. selecting column
df.column_name
df['column_name']
df.iloc[:,]
4. selecting row
df.iloc[0:10, :] - select data first 10 rows.
df.loc[44, :]
df[df["Area"] == "Ireland"] – select the rows where Area value is ‘Ireland’.
5. From DataFrame to list values
df.column_name.values
df.column_name.tolist()
6. Some columns data
new = old[['A', 'C', 'D']].copy()
new = old.filter(['A', 'C', 'D'], axis=1)
Extracting specific selected columns from a DataFrame to new DataFrame
* remove column
new = old.drop('B', axis=1)
7. Change, update index
df.index = [list_value]
Visualization
Pandas DataFrame Visualization
Data Visualization & Exploration using Pandas Only: Beginner
Modern Pandas (Part 6): Visualization
Visualization with Seaborn
Visualize data with Pandas
Errorbar or box plot, Histogram
Box plot with min, max, average and standard deviation
Python Histograms, Box Plots, & Distributions
Scattering graph
draw box plot & draw all real value (point)
Matplotlib: avoiding overlapping datapoints in a “scatter/dot/beeswarm” plot
Seaborn
DataFrame plot
Understand df.plot in pandas
Data Frames and Plotting
Plotting Series and DataFrame objects
Others
Creating Pandas DataFrames from Lists and Dictionaries
Python에서 데이터 시각화하는 다양한 방법
Create multiple dataframes in loop
Starting out with Python Pandas DataFrames
The Pandas DataFrame – loading, editing, and viewing data in Python
1. head(), tail()
is it possible mid data, not head or tail?
df.iloc[[row_start:row_end],[column_start:column_end]]
2. describe()
separate data each type, and then use the describe() function
3. selecting column
df.column_name
df['column_name']
df.iloc[:,
4. selecting row
df.iloc[0:10, :] - select data first 10 rows.
df.loc[44, :]
df[df["Area"] == "Ireland"] – select the rows where Area value is ‘Ireland’.
5. From DataFrame to list values
df.column_name.values
df.column_name.tolist()
6. Some columns data
new = old[['A', 'C', 'D']].copy()
new = old.filter(['A', 'C', 'D'], axis=1)
Extracting specific selected columns from a DataFrame to new DataFrame
* remove column
new = old.drop('B', axis=1)
7. Change, update index
df.index = [list_value]
Visualization
Pandas DataFrame Visualization
Data Visualization & Exploration using Pandas Only: Beginner
Modern Pandas (Part 6): Visualization
Visualization with Seaborn
Visualize data with Pandas
Errorbar or box plot, Histogram
Box plot with min, max, average and standard deviation
Python Histograms, Box Plots, & Distributions
Scattering graph
draw box plot & draw all real value (point)
Matplotlib: avoiding overlapping datapoints in a “scatter/dot/beeswarm” plot
Seaborn
DataFrame plot
Understand df.plot in pandas
Data Frames and Plotting
Plotting Series and DataFrame objects
Others
Creating Pandas DataFrames from Lists and Dictionaries
Python에서 데이터 시각화하는 다양한 방법
Create multiple dataframes in loop
Subscribe to:
Posts (Atom)