# 文档
## 开发参考
pandas https://geek-docs.com/pandas/pandas-data-process/pandas-rotation-data.html
## generator 组件
> generator组件本质是借助python的faker库实现数据的生成,下面是faker库的使用参考
### 人物相关
```python
fake.first_name() # 名字
fake.first_name_female() # 名字(女)
fake.first_name_male() # 名字(男)
fake.first_romanized_name() # 名字(罗马文)
fake.last_name() # 姓
fake.last_name_female() # 姓(女)
fake.last_name_male() # 姓(男)
fake.last_romanized_name() # 姓(罗马文)
fake.name() # 姓名
fake.name_female() # 姓名(女)
fake.name_male() # 姓名(男)
fake.prefix() # 称谓
fake.prefix_female() # 称谓(女)
fake.prefix_male() # 称谓(男)
fake.romanized_name() # 称谓(罗马文)
fake.suffix() # 姓名后缀(中文不适用)
```
### 地址相关
```python
fake.address() # 地址
fake.building_number() # 楼名
fake.city() # 完整城市名
fake.city_name() # 城市名字(不带市县)
fake.city_suffix() # 城市后缀名
fake.country() # 国家名称
fake.district() # 地区
fake.postcode() # 邮编
fake.province() # 省
fake.street_address() # 街道地址
fake.street_name() # 街道名称
fake.street_suffix() # 街道后缀名
fake.country_code(representation="alpha-2") # 国家编号
```
### 汽车相关
```python
fake.license_plate() # 牌照
```
### 银行相关
```python
ake.bank_country() # 银行所属国家
fake.bban() # 基本银行账号
fake.iban() # 国际银行代码
```
### 条形码相关
```python
fake.ean(length=13) # EAN条形码
fake.ean13() # EAN13条形码
fake.ean8() # EAN8条形码
```
### 颜色相关
```python
fake.color_name() # 颜色名称
fake.hex_color() # 颜色十六进制值
fake.rgb_color() # 颜色RGB值
fake.rgb_css_color() # CSS颜色值
fake.safe_color_name() # 安全色
fake.safe_hex_color() # 安全色十六进制值
```
### 公司相关
```python
fake.bs() # 商业用词
fake.catch_phrase() # 妙句(口号)
fake.company() # 公司名称
fake.company_prefix() # 公司名称前缀
fake.company_suffix() # 公司名称后缀
```
### 信用卡相关
```python
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 过期年月
fake.credit_card_full(card_type=None) # 完整信用卡信息
fake.credit_card_number(card_type=None) # 信用卡卡号
fake.credit_card_provider(card_type=None) # 信用卡提供商
fake.credit_card_security_code(card_type=None) # 信用卡安全码
```
### 货币相关
```python
fake.cryptocurrency() # 加密货币代码+名称
fake.cryptocurrency_code() # 加密货币代码
fake.cryptocurrency_name() # 加密货币名称
fake.currency() # 货币代码+名称
fake.currency_code() # 货币代码
fake.currency_name() # 货币名称
```
### 时间相关
```python
fake.am_pm() # AM或PM
fake.century() # 世纪
fake.date(pattern="%Y-%m-%d", end_datetime=None) # 日期字符串(可设置格式和最大日期)
fake.date_between(start_date="-30y", end_date="today") # 日期(可设置限定范围)
fake.date_between_dates(date_start=None, date_end=None) # 同上
fake.date_object(end_datetime=None) # 日期(可设置最大日期)
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115) # 出生日期
fake.date_this_century(before_today=True, after_today=False) # 本世纪日期
fake.date_this_decade(before_today=True, after_today=False) # 本年代中的日期
fake.date_this_month(before_today=True, after_today=False) # 本月中的日期
fake.date_this_year(before_today=True, after_today=False) # 本年中的日期
fake.date_time(tzinfo=None, end_datetime=None) # 日期和时间
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None) # 日期和时间(从001年1月1日到现在)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None) # 日期时间(可设置限定范围)
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None) # 同上
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None) # 本世纪中的日期和时间
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None) # 本年代中的日期和时间
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None) # 本月中的日期和时间
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None) # 本年中的日期和时间
fake.day_of_month() # 几号
fake.day_of_week() # 星期几
fake.future_date(end_date="+30d", tzinfo=None) # 未来日期
fake.future_datetime(end_date="+30d", tzinfo=None) # 未来日期和时间
fake.iso8601(tzinfo=None, end_datetime=None) # iso8601格式日期和时间
fake.month() # 第几月
fake.month_name() # 月份名称
fake.past_date(start_date="-30d", tzinfo=None) # 过去日期
fake.past_datetime(start_date="-30d", tzinfo=None) # 过去日期和时间
fake.time(pattern="%H:%M:%S", end_datetime=None) # 时间(可设置格式和最大日期时间)
fake.time_delta(end_datetime=None) # 时间间隔
fake.time_object(end_datetime=None) # 时间(可设置最大日期时间)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
fake.timezone() # 时区
fake.unix_time(end_datetime=None, start_datetime=None) # UNIX时间戳
fake.year() # 某年
```
### 文件相关
```python
fake.file_extension(category=None) # 文件扩展名
fake.file_name(category=None, extension=None) # 文件名
fake.file_path(depth=1, category=None, extension=None) # 文件路径
fake.mime_type(category=None) # MIME类型
fake.unix_device(prefix=None) # UNIX设备
fake.unix_partition(prefix=None) # UNIX分区
```
### 坐标相关
```python
fake.coordinate(center=None, radius=0.001) # 坐标
fake.latitude() # 纬度
fake.latlng() # 经纬度
fake.local_latlng(country_code="US", coords_only=False) # 返回某个国家某地的经纬度
fake.location_on_land(coords_only=False) # 返回地球上某个位置的经纬度
fake.longitude() # 经度
```
### 网络相关
```python
fake.ascii_company_email(*args, **kwargs) # 企业邮箱(ascii编码)
fake.ascii_email(*args, **kwargs) # 企业邮箱+免费邮箱(ascii编码)
fake.ascii_free_email(*args, **kwargs) # 免费邮箱(ascii编码)
fake.ascii_safe_email(*args, **kwargs) # 安全邮箱(ascii编码)
fake.company_email(*args, **kwargs) # 企业邮箱
fake.domain_name(levels=1) # 域名
fake.domain_word(*args, **kwargs) # 二级域名
fake.email(*args, **kwargs) # 企业邮箱+免费邮箱
fake.free_email(*args, **kwargs) # 免费邮箱
fake.free_email_domain(*args, **kwargs) # 免费邮箱域名
fake.hostname(*args, **kwargs) # 主机名
fake.image_url(width=None, height=None) # 图片URL
fake.ipv4(network=False, address_class=None, private=None) # ipv4
fake.ipv4_network_class()
fake.ipv4_private(network=False, address_class=None) # 私有ipv4
fake.ipv4_public(network=False,
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
python pandas 做的etl工具NodeGraphQt-master.zip (201个子文件)
make.bat 787B
setup.cfg 1KB
theme.conf 412B
theme.css 135KB
pygments.css 4KB
badge_only.css 3KB
2.csv 78KB
1.csv 23B
1.csv 18B
样式图.drawio 1KB
fontawesome-webfont.eot 162KB
.gitignore 196B
layout.html 9KB
breadcrumbs.html 4KB
footer.html 3KB
search.html 2KB
versions.html 1KB
searchbox.html 369B
MANIFEST.in 48B
theme.js 5KB
badge_only.js 934B
hotkeys.json 7KB
plugin.json 5KB
1.json 2KB
query.json 2KB
db_writer.json 1KB
mysql_mongo.json 1KB
db_reader.json 1KB
sort.json 1KB
menu.json 1KB
faker_parquet.json 1KB
mapping.json 1KB
file_console.json 985B
parquet_console.json 948B
generator.json 880B
fakers_parquet.json 847B
home.json 4B
Makefile 580B
README.md 12KB
README.md 1KB
LICENSE.md 1KB
csv_output.png 115KB
系统信息.png 52KB
excel_input.png 51KB
js代码.png 42KB
csv_input.png 32KB
数据生成器.png 21KB
字典映射.png 18KB
合并记录.png 17KB
自定义常量数据.png 16KB
采样.png 14KB
排序记录.png 10KB
logo.png 780B
logo.png 780B
file.png 705B
folder.png 497B
csv_output.py 8KB
csv_input.py 8KB
csv_input.py 8KB
conf.py 7KB
combo_box_example.py 6KB
progress_circle_example.py 6KB
label_example.py 6KB
menu_example.py 6KB
hotkey_functions.py 5KB
message_example.py 5KB
card_example.py 5KB
mock.py 5KB
_mock_data.py 5KB
delegate_button_example.py 5KB
radio_button_group_example.py 5KB
line_edit_example.py 5KB
drawer_example.py 4KB
table_view_example.py 4KB
browser_example.py 4KB
tool_button_group_example.py 4KB
line_tab_widget_example.py 4KB
item_view_set_example.py 4KB
field_mixin_example.py 4KB
custom_ports_node.py 3KB
menu_tab_widget_example.py 3KB
check_box_group_example.py 3KB
toast_example.py 3KB
badge_example.py 3KB
demo.py 3KB
push_button_example.py 3KB
alert_example.py 3KB
radio_button_example.py 3KB
check_box_example.py 3KB
home_tab.py 3KB
progress_bar_example.py 3KB
theme_example.py 3KB
tool_button_example.py 3KB
avatar_example.py 3KB
push_button_group_example.py 3KB
plugin_view.py 3KB
collapse_example.py 3KB
faker.py 3KB
divider_example.py 3KB
slider_example.py 3KB
共 201 条
- 1
- 2
- 3
资源评论
流华追梦
- 粉丝: 5241
- 资源: 2259
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功