python dataframe 中位数_python下的Pandas中DataFrame基本操作(一),基本函数整理
pandas作者Wes McKinney 在【PYTHON FOR DATA ANALYSIS】中对pandas的方方面面都有了一个权威简明的入门级的介绍,但在实际使用过程中,我发现书中的内容还只是冰山一角。谈到pandas数据的行更新、表合并等操作,一般用到的方法有concat、join、merge。但这三种方法对于很多新手来说,都不太好分清使用的场合与用途。
构造函数
方法描述DataFrame([data, index, columns, dtype, copy])构造数据框
属性和数据
方法描述Axesindex: row labels;columns: column labels
DataFrame.as_matrix([columns])转换为矩阵
DataFrame.dtypes返回数据的类型
DataFrame.ftypesReturn the ftypes (indication of sparse/dense and dtype) in this object.
DataFrame.get_dtype_counts()返回数据框数据类型的个数
DataFrame.get_ftype_counts()Return the counts of ftypes in this object.
DataFrame.select_dtypes([include, exclude])根据数据类型选取子数据框
DataFrame.valuesNumpy的展示方式
DataFrame.axes返回横纵坐标的标签名
DataFrame.ndim返回数据框的纬度
DataFrame.size返回数据框元素的个数
DataFrame.shape返回数据框的形状
DataFrame.memory_usage([index, deep])Memory usage of DataFrame columns.
类型转换
方法描述DataFrame.astype(dtype[, copy, errors])转换数据类型
DataFrame.copy([deep])复制数据框
DataFrame.isnull()以布尔的方式返回空值
DataFrame.notnull()以布尔的方式返回非空值
索引和迭代
方法描述DataFrame.head([n])返回前n行数据
DataFrame.at快速标签常量访问器
DataFrame.iat快速整型常量访问器
DataFrame.loc标签定位
DataFrame.iloc整型定位
DataFrame.insert(loc, column, value[, …])在特殊地点插入行
DataFrame.iter()Iterate over infor axis
DataFrame.iteritems()返回列名和序列的迭代器
DataFrame.iterrows()返回索引和序列的迭代器
DataFrame.itertuples([index, name])Iterate over DataFrame rows as namedtuples, with index value as first element of the tuple.
DataFrame.lookup(row_labels, col_labels)Label-based “fancy indexing” function for DataFrame.
DataFrame.pop(item)返回删除的项目
DataFrame.tail([n])返回最后n行
DataFrame.xs(key[, axis, level, drop_level])Returns a cross-section (row(s) or column(s)) from the Series/DataFrame.
DataFrame.isin(values)是否包含数据框中的元素
DataFrame.where(cond[, other, inplace, …])条件筛选
DataFrame.mask(cond[, other, inplace, axis, …])Return an object of same shape as self and whose corresponding entries are from self where cond is False and otherwise are from other.
DataFrame.query(expr[, inplace])Query the columns of a frame with a boolean expression.
二元运算
方法描述DataFrame.add(other[, axis, level, fill_value])加法,元素指向
DataFrame.sub(other[, axis, level, fill_value])减法,元素指向
DataFrame.mul(other[, axis, level, fill_value])乘法,元素指向
DataFrame.div(other[, axis, level, fill_value])小数除法,元素指向
DataFrame.truediv(other[, axis, level, …])真除法,元素指向
DataFrame.floordiv(other[, axis, level, …])向下取整除法,元素指向
DataFrame.mod(other[, axis, level, fill_value])模运算,元素指向
DataFrame.pow(other[, axis, level, fill_value])幂运算,元素指向
DataFrame.radd(other[, axis, level, fill_value])右侧加法,元素指向
DataFrame.rsub(other[, axis, level, fill_value])右侧减法,元素指向
DataFrame.rmul(other[, axis, level, fill_value])右侧乘法,元素指向
DataFrame.rdiv(other[, axis, level, fill_value])右侧小数除法,元素指向
DataFrame.rtruediv(other[, axis, level, …])右侧真除法,元素指向
DataFrame.rfloordiv(other[, axis, level, …])右侧向下取整除法,元素指向
DataFrame.rmod(other[, axis, level, fill_value])右侧模运算,元素指向
DataFrame.rpow(other[, axis, level, fill_value])右侧幂运算,元素指向
DataFrame.lt(other[, axis, level])类似Array.lt
DataFrame.gt(other[, axis, level])类似Array.gt
DataFrame.le(other[, axis, level])类似Array.le
DataFrame.ge(other[, axis, level])类似Array.ge
DataFrame.ne(other[, axis, level])类似Array.ne
DataFrame.eq(other[, axis, level])类似Array.eq
DataFrame.combine(other, func[, fill_value, …])Add two DataFrame objects and do not propagate NaN values, so if for a
DataFrame.combine_first(other)Combine two DataFrame objects and default to non-null values in frame calling the method.
函数应用&分组&窗口
方法描述DataFrame.apply(func[, axis, broadcast, …])应用函数
DataFrame.applymap(func)Apply a function to a DataFrame that is intended to operate elementwise, i.e.
DataFrame.aggregate(func[, axis])Aggregate using callable, string, dict, or list of string/callables
DataFrame.transform(func, *args, **kwargs)Call function producing a like-indexed NDFrame
DataFrame.groupby([by, axis, level, …])分组
DataFrame.rolling(window[, min_periods, …])滚动窗口
DataFrame.expanding([min_periods, freq, …])拓展窗口
DataFrame.ewm([com, span, halflife, alpha, …])指数权重窗口
描述统计学
方法描述DataFrame.abs()返回绝对值
DataFrame.all([axis, bool_only, skipna, level])Return whether all elements are True over requested axis
DataFrame.any([axis, bool_only, skipna, level])Return whether any element is True over requested axis
DataFrame.clip([lower, upper, axis])Trim values at input threshold(s).
DataFrame.clip_lower(threshold[, axis])Return copy of the input with values below given value(s) truncated.
DataFrame.clip_upper(threshold[, axis])Return copy of input with values above given value(s) truncated.
DataFrame.corr([method, min_periods])返回本数据框成对列的相关性系数
DataFrame.corrwith(other[, axis, drop])返回不同数据框的相关性
DataFrame.count([axis, level, numeric_only])返回非空元素的个数
DataFrame.cov([min_periods])计算协方差
DataFrame.cummax([axis, skipna])Return cumulative max over requested axis.
DataFrame.cummin([axis, skipna])Return cumulative minimum over requested axis.
DataFrame.cumprod([axis, skipna])返回累积
DataFrame.cumsum([axis, skipna])返回累和
DataFrame.describe([percentiles, include, …])整体描述数据框
DataFrame.diff([periods, axis])1st discrete difference of object
DataFrame.eval(expr[, inplace])Evaluate an expression in the context of the calling DataFrame instance.
DataFrame.kurt([axis, skipna, level, …])返回无偏峰度Fisher’s (kurtosis of normal == 0.0).
DataFrame.mad([axis, skipna, level])返回偏差
DataFrame.max([axis, skipna, level, …])返回最大值
DataFrame.mean([axis, skipna, level, …])返回均值
DataFrame.median([axis, skipna, level, …])返回中位数
DataFrame.min([axis, skipna, level, …])返回最小值
DataFrame.mode([axis, numeric_only])返回众数
DataFrame.pct_change([periods, fill_method, …])返回百分比变化
DataFrame.prod([axis, skipna, level, …])返回连乘积
DataFrame.quantile([q, axis, numeric_only, …])返回分位数
DataFrame.rank([axis, method, numeric_only, …])返回数字的排序
DataFrame.round([decimals])Round a DataFrame to a variable number of decimal places.
DataFrame.sem([axis, skipna, level, ddof, …])返回无偏标准误
DataFrame.skew([axis, skipna, level, …])返回无偏偏度
DataFrame.sum([axis, skipna, level, …])求和
DataFrame.std([axis, skipna, level, ddof, …])返回标准误差
DataFrame.var([axis, skipna, level, ddof, …])返回无偏误差
从新索引&选取&标签操作
方法描述DataFrame.add_prefix(prefix)添加前缀
DataFrame.add_suffix(suffix)添加后缀
DataFrame.align(other[, join, axis, level, …])Align two object on their axes with the
DataFrame.drop(labels[, axis, level, …])返回删除的列
DataFrame.drop_duplicates([subset, keep, …])Return DataFrame with duplicate rows removed, optionally only
DataFrame.duplicated([subset, keep])Return boolean Series denoting duplicate rows, optionally only
DataFrame.equals(other)两个数据框是否相同
DataFrame.filter([items, like, regex, axis])过滤特定的子数据框
DataFrame.first(offset)Convenience method for subsetting initial periods of time series data based on a date offset.
DataFrame.head([n])返回前n行
DataFrame.idxmax([axis, skipna])Return index of first occurrence of maximum over requested axis.
DataFrame.idxmin([axis, skipna])Return index of first occurrence of minimum over requested axis.
DataFrame.last(offset)Convenience method for subsetting final periods of time series data based on a date offset.
DataFrame.reindex([index, columns])Conform DataFrame to new index with optional filling logic, placing NA/NaN in locations having no value in the previous index.
DataFrame.reindex_axis(labels[, axis, …])Conform input object to new index with optional filling logic, placing NA/NaN in locations having no value in the previous index.
DataFrame.reindex_like(other[, method, …])Return an object with matching indices to myself.
DataFrame.rename([index, columns])Alter axes input function or functions.
DataFrame.rename_axis(mapper[, axis, copy, …])Alter index and / or columns using input function or functions.
DataFrame.reset_index([level, drop, …])For DataFrame with multi-level index, return new DataFrame with labeling information in the columns under the index names, defaulting to ‘level_0’, ‘level_1’, etc.
DataFrame.sample([n, frac, replace, …])返回随机抽样
DataFrame.select(crit[, axis])Return data corresponding to axis labels matching criteria
DataFrame.set_index(keys[, drop, append, …])Set the DataFrame index (row labels) using one or more existing columns.
DataFrame.tail([n])返回最后几行
DataFrame.take(indices[, axis, convert, is_copy])Analogous to ndarray.take
DataFrame.truncate([before, after, axis, copy])Truncates a sorted NDFrame before and/or after some particular index value.
处理缺失值
方法描述DataFrame.dropna([axis, how, thresh, …])Return object with labels on given axis omitted where alternately any
DataFrame.fillna([value, method, axis, …])填充空值
DataFrame.replace([to_replace, value, …])Replace values given in ‘to_replace’ with ‘value’.
从新定型&排序&转变形态
方法描述DataFrame.pivot([index, columns, values])Reshape data (produce a “pivot” table) based on column values.
DataFrame.reorder_levels(order[, axis])Rearrange index levels using input order.
DataFrame.sort_values(by[, axis, ascending, …])Sort by the values along either axis
DataFrame.sort_index([axis, level, …])Sort object by labels (along an axis)
DataFrame.nlargest(n, columns[, keep])Get the rows of a DataFrame sorted by the n largest values of columns.
DataFrame.nsmallest(n, columns[, keep])Get the rows of a DataFrame sorted by the n smallest values of columns.
DataFrame.swaplevel([i, j, axis])Swap levels i and j in a MultiIndex on a particular axis
DataFrame.stack([level, dropna])Pivot a level of the (possibly hierarchical) column labels, returning a DataFrame (or Series in the case of an object with a single level of column labels) having a hierarchical index with a new inner-most level of row labels.
DataFrame.unstack([level, fill_value])Pivot a level of the (necessarily hierarchical) index labels, returning a DataFrame having a new level of column labels whose inner-most level consists of the pivoted index labels.
DataFrame.melt([id_vars, value_vars, …])“Unpivots” a DataFrame from wide format to long format, optionally
DataFrame.TTranspose index and columns
DataFrame.to_panel()Transform long (stacked) format (DataFrame) into wide (3D, Panel) format.
DataFrame.to_xarray()Return an xarray object from the pandas object.
DataFrame.transpose(*args, **kwargs)Transpose index and columns
Combining& joining&merging
方法描述DataFrame.append(other[, ignore_index, …])追加数据
DataFrame.assign(**kwargs)Assign new columns to a DataFrame, returning a new object (a copy) with all the original columns in addition to the new ones.
DataFrame.join(other[, on, how, lsuffix, …])Join columns with other DataFrame either on index or on a key column.
DataFrame.merge(right[, how, on, left_on, …])Merge DataFrame objects by performing a database-style join operation by columns or indexes.
DataFrame.update(other[, join, overwrite, …])Modify DataFrame in place using non-NA values from passed DataFrame.
时间序列
方法描述DataFrame.asfreq(freq[, method, how, …])将时间序列转换为特定的频次
DataFrame.asof(where[, subset])The last row without any NaN is taken (or the last row without
DataFrame.shift([periods, freq, axis])Shift index by desired number of periods with an optional time freq
DataFrame.first_valid_index()Return label for first non-NA/null value
DataFrame.last_valid_index()Return label for last non-NA/null value
DataFrame.resample(rule[, how, axis, …])Convenience method for frequency conversion and resampling of time series.
DataFrame.to_period([freq, axis, copy])Convert DataFrame from DatetimeIndex to PeriodIndex with desired
DataFrame.to_timestamp([freq, how, axis, copy])Cast to DatetimeIndex of timestamps, at beginning of period
DataFrame.tz_convert(tz[, axis, level, copy])Convert tz-aware axis to target time zone.
DataFrame.tz_localize(tz[, axis, level, …])Localize tz-naive TimeSeries to target time zone.
作图
方法描述DataFrame.plot([x, y, kind, ax, ….])DataFrame plotting accessor and method
DataFrame.plot.area([x, y])面积图Area plot
DataFrame.plot.bar([x, y])垂直条形图Vertical bar plot
DataFrame.plot.barh([x, y])水平条形图Horizontal bar plot
DataFrame.plot.box([by])箱图Boxplot
DataFrame.plot.density(**kwds)核密度Kernel Density Estimate plot
DataFrame.plot.hexbin(x, y[, C, …])Hexbin plot
DataFrame.plot.hist([by, bins])直方图Histogram
DataFrame.plot.kde(**kwds)核密度Kernel Density Estimate plot
DataFrame.plot.line([x, y])线图Line plot
DataFrame.plot.pie([y])饼图Pie chart
DataFrame.plot.scatter(x, y[, s, c])散点图Scatter plot
DataFrame.boxplot([column, by, ax, …])Make a box plot from DataFrame column optionally grouped by some columns or
DataFrame.hist(data[, column, by, grid, …])Draw histogram of the DataFrame’s series using matplotlib / pylab.
转换为其他格式
方法描述DataFrame.from_csv(path[, header, sep, …])Read CSV file (DEPRECATED, please use pandas.read_csv() instead).
DataFrame.from_dict(data[, orient, dtype])Construct DataFrame from dict of array-like or dicts
DataFrame.from_items(items[, columns, orient])Convert (key, value) pairs to DataFrame.
DataFrame.from_records(data[, index, …])Convert structured or record ndarray to DataFrame
DataFrame.info([verbose, buf, max_cols, …])Concise summary of a DataFrame.
DataFrame.to_pickle(path[, compression, …])Pickle (serialize) object to input file path.
DataFrame.to_csv([path_or_buf, sep, na_rep, …])Write DataFrame to a comma-separated values (csv) file
DataFrame.to_hdf(path_or_buf, key, **kwargs)Write the contained data to an HDF5 file using HDFStore.
DataFrame.to_sql(name, con[, flavor, …])Write records stored in a DataFrame to a SQL database.
DataFrame.to_dict([orient, into])Convert DataFrame to dictionary.
DataFrame.to_excel(excel_writer[, …])Write DataFrame to an excel sheet
DataFrame.to_json([path_or_buf, orient, …])Convert the object to a JSON string.
DataFrame.to_html([buf, columns, col_space, …])Render a DataFrame as an HTML table.
DataFrame.to_feather(fname)write out the binary feather-format for DataFrames
DataFrame.to_latex([buf, columns, …])Render an object to a tabular environment table.
DataFrame.to_stata(fname[, convert_dates, …])A class for writing Stata binary dta files from array-like objects
DataFrame.to_msgpack([path_or_buf, encoding])msgpack (serialize) object to input file path
DataFrame.to_gbq(destination_table, project_id)Write a DataFrame to a Google BigQuery table.
DataFrame.to_records([index, convert_datetime64])Convert DataFrame to record array.
DataFrame.to_sparse([fill_value, kind])Convert to SparseDataFrame
DataFrame.to_dense()Return dense representation of NDFrame (as opposed to sparse)
DataFrame.to_string([buf, columns, …])Render a DataFrame to a console-friendly tabular output.
DataFrame.to_clipboard([excel, sep])Attempt to write text representation of object to the system clipboard This can be pasted into Excel, for example.
参考文献:
相关文章:

对输入框以及选择框集体的数据检验
对于一个档案输入框,有很多输入框是需要输入数据的,但有时候我们会在输入的时候遗留一些必填的项,如果不做数据校验,这时候点击保存按钮,就悲剧了,报错不说,我们前面填写的数据也就没有了。 所以…

CentOS Docker安装配置部署Golang web helloworld
目录【阅读时间:约5分钟】一、Docker简介二、Docker的安装与配置【CentOS环境】三、Docker部署Golang web helloworld四、Docker与虚拟机的区别五、吐槽一、Docker简介 Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移…

[CareerCup] 2.4 Partition List 划分链表
2.4 Write code to partition a linked list around a value x, such that all nodes less than x come before all nodes greater than or equal to x. LeetCode上的原题,请参见我之前的博客Partition List 划分链表。

一条命令下载google壁纸,含错误解决方法
该命令是从google图片搜索上搜索wallpaper的大尺寸图片,匹配其中的jpg文件进行下载。 #!/bin/bash for i in {1..10}; do for url in $(wget -O- -U "" "http://images.google.com/images?imgszxxlarge&hlen&qwallpaper&saN&s…

git config —global_Git多用户配置
备注:如下的操作,Windows系统建议在Git bash工具里操作。如下操作的原理,建议查阅官方文档。Git - Reference1.取消全局设置的用户信息。Git命令:$ git config --global --unset user.name $ git config --global --unset user.em…

中级实训总结报告
目录【阅读时间:约30分钟】中级实训总结报告姓名:隐藏敏感信息 学号:隐藏敏感信息一、阶段1:项目启动1、Vi/Vim2、Java3、Ant4、Junit5、SonarQube6、 编译运行BugRunner二、阶段2:基本任务1. part2的工作(…

PHP解决方案@黑名单过滤
为什么80%的码农都做不了架构师?>>> 方案解决目标:对一些黑名单进行过滤处理 function is_spam($text, $file, $split :, $regex false){ $handle fopen($file,rb); $contents fread($handle, filesize($file)); fclose($handle); $lines …

Ubuntu 12.04下玩转终端管理器Byobu
简介 很多Linux高手都喜欢使用screen命令,screen命令可以使你轻松地使用一个终端控制其他终端。尽管screen本身是一个非常有用的工具,byobu作为screen的增强版本,比screen更加好用而且美观,并且提供有用的信息和快捷的热键。 想象…

python字典排序方法_Python字典的排序方法一则
今天需要对Python的字典进行排序,以获得有效的时间序列,采用了如下方法: 首先生成一个示例字典: >>> range_a random.sample(range(0, 10), 10) >>> range_b random.sample(range(10, 20), 10) >>> …

encodeURI 和 encodeURIComponent
保留字符 (reserved characters):这类字符是URI中的保留关键字符,它们用于分割URI中的各个部分。这些字符是:";" | "/" | "?" | ":" | "" | "&&quo…

基于Golang的简单web服务程序开发——CloudGo
基于Golang的简单web服务程序开发——CloudGo【阅读时间:约10分钟】一、概述二、系统环境&项目介绍1.系统环境2.项目的任务要求(1)基本要求(2)扩展要求三、具体程序设计及Golang代码实现1.预先准备2.CloudGoClient…

Android Studio创建项目
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u010046908/article/details/47000873 创建项目 首先,先指出Android Studio中的两个概念。 Project和 Module。在Android Studio中, Project的真实含义…
Weiss的数据结构与算法分析(C++版)源码编译说明
最近尝试编译Weiss的那本数据结构与算法分析(C版)提供的源代码时,遇到一些问题,特记录如下:考虑到该书提供的代码是使用模板技术较多,这在提供简洁代码的同时,也给源码的编译带来了一些问题。因…

latex 中文_【小白向】LaTeX 中文入门
注:本文尚未撰写完毕,先暂存一下~(2020/06/27)参考学习路线[1]如何从零开始,入门 LaTeX? 孟晨 1. 卸载 CTeX 套装,安装 TeX Live原因及教程见:TeX Live 下载及安装说明2. 看完:一份其实很短的 L…

物联网兴起 嵌入式系统安全日益受关注
随着越来越多设备连接到互联网,专家们担心嵌入式系统将给企业带来严重安全风险,而很多企业还没有意识到这种风险或者无法缓解这种风险…… 随着越来越多设备连接到互联网,专家们担心嵌入式系统将给企业带来严重安全风险,而很多企业…

【Golang源码分析】Go Web常用程序包gorilla/mux的使用与源码简析
目录【阅读时间:约10分钟】一.概述二.对比: gorilla/mux与net/http DefaultServeMux三.简单使用四.源码简析1.NewRouter函数2.HandleFunc函数设置路由的HTTP方法设置路由的域名限制HTTP 方案设置路径前缀和子路由3.PathPrefix函数五.References一.概述 gorilla/mux…

FileMaker中的腳本觸發器學習筆記
脚本触发器 **脚本触发器是始终绑定到用户布局接口。对于数据表或者字段。只有在而已接口才能触发。**如果某一个布局或者对象上包含触发器,则其右下角会有触发器图标**当触发一个事件时,有且仅有一个触发器会被执行.布局级别的触发器**ONRECORDLOAD :加…

vim学习笔记(四)
下面是我的最近更新,差点删除。 下面的笔记摘自vimtutor。<CR>表示回车 删除命令 在normal模式下: de 删除一个单词,不包含空格 dw 删除一个单词,包含空格 dd 删除当前行 1,10d 删除指定行,第1到10行 ndd…

文件和缓存项目依赖
文件和缓存项目依赖 要创建缓存依赖,你需要创建一个 CacheDependency 对象并在添加依赖的缓存项目时使用它。例如,下面的代码创建一个缓存项目,它在一个 XML 文件被修改、删除、覆盖时自动从缓存中移除: CacheDependency prodDepe…

python函数的基础知识_Python入门基础知识点(函数进阶)
动态参数: 动态接收位置参数: def eat(*args): #在形参位置,*叫做聚合 print(我想吃,args) eat(大米饭,中米饭,小米饭) #收到的结果是一个tuple元祖 动态接收参数的时候要注意: 动态参数必须在位置参数后面,否则: def …

【CentOS】利用Kubeadm部署Kubernetes (K8s)
【CentOS】利用Kubeadm部署Kubernetes (K8s)【阅读时间:约10分钟】一、概述二、系统环境&项目介绍1.系统环境2.项目的任务要求三、具体实验流程1 系统准备2 安装常用包3 使用aliyun源安装docker-ce4 安装kubectl、kubelet、kubeadm5 初始…
HttpClient4.4 登录知乎(详细过程)
引言 HttpClient是java语言下一个支持http协议的客户端编程工具包,它实现了HTTP协议的所有方法,但是不支持JS渲染。我们在做一些小玩意时,有可能需要登录某些网站获取信息,那么HttpClient就是你的好帮手,废话不多说&am…

vim学习笔记(一)
:vertical sfind 垂直分隔窗口(vsf),但是两个窗口的内容完全相同。在编辑的时候,内容也完全相同,如果要关闭一个窗口,输入:exit即可:buffers 显示整个缓冲区列表ndG 删除从当前行到指定n行中的…

Retrofit源码研究
2016-05-06 15:35:27 最近抽空研究了一下Retrofit源码,包括API使用、源码结构、使用到的设计模式、SDK的架构设计、作者设计/实现思路等,会形成一系列文章。 以前Retrofit还是1.9的时候,简单的写过一篇文章,简单研究下Retrofit&am…

wpf窗口向左向上_PaperWM:GNOME 下的平铺窗口管理
我使用 Gnome 已有很长时间了,但是我仍然有点想念平铺窗口管理器。六个月前,一个朋友告诉我有关 PaperWM 的消息,它使你可以在 Gnome 中平铺窗口!我立即安装了它,并从那时起我一直在使用它。-- Julia Evans(作者)当我开…

Docker的安装、镜像源更换与简单应用
Docker的安装、镜像源更换与简单应用【阅读时间:约20分钟】一、概述二、系统环境&项目介绍1.系统环境2.项目的任务要求三、Docker的安装四、Docker的简单应用1. 运行第一个容器2. Docker基本操作3. MySQL与容器化3.1 拉取MySQL镜像3.2 构建docker镜像3.3 MySQL容…

vim学习笔记(三)
1.vim的配置文件在哪里?在normal模式下输入:echo $VIMVim的主配置文件为vimrc文件,它分为两个版本:global和personal,其中前者一般在/usr/share/vim/vimrc,后者一般在~/.vimrc,它是一个隐藏文件找到home目录的方法:ech…

python 学术_Python
前几天实验室一个师兄给我一个质谱结果,让帮忙做下go的功能富集,数据格式大概是这样的:由于之前做go和kegg时都是跑流程,像这种针对性的go富集还没做过,说到底,还是由于自己手上缺少数据,没有属…

Hive的Security配置
为了更好地使用好Hive,我将《Programming Hive》的Security章节取出来,翻译了一下。 Hive还是支持相当多的权限管理功能,满足一般数据仓库的使用。 Hive由一个默认的设置来配置新建文件的默认权限。 Xml代码 <property> <name>…

Docker安装Apache与运行简单的web服务——httpd helloworld
Docker运行简单的web服务——httpd helloworld目录【阅读时间:约5分钟】一、Docker简介二、Docker的安装与配置【CentOS环境】三、Docker运行简单的web服务——httpd helloworld四、References一、Docker简介 Docker 是一个开源的应用容器引擎,让开发者…