hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
f6ab4cd55330704676a9aec66d388ca08c20c740
1,289
py
Python
2021_05_19/dojo_test.py
devppjr/dojo
de0bf116153bd1251dd948c18fc73ac41def0fa5
[ "MIT" ]
114
2015-03-10T22:17:42.000Z
2022-03-09T17:49:48.000Z
2021_05_19/dojo_test.py
devppjr/dojo
de0bf116153bd1251dd948c18fc73ac41def0fa5
[ "MIT" ]
9
2018-09-04T12:49:59.000Z
2019-11-17T21:29:51.000Z
2021_05_19/dojo_test.py
devppjr/dojo
de0bf116153bd1251dd948c18fc73ac41def0fa5
[ "MIT" ]
39
2015-01-29T01:20:56.000Z
2022-02-17T16:26:25.000Z
import unittest from dojo import main, function_right, function_in class DojoTest(unittest.TestCase): def test_function_right1(self): self.assertEqual(function_right("1492", "2013"), 0) def test_function_right2(self): self.assertEqual(function_right("1234", "1234"), 4) def test_function_right3(self): self.assertEqual(function_right("1235", "1342"), 1) def test_function_wrongs1(self): self.assertEqual(function_in("1492", "2013"), 2) def test_function_wrongs2(self): self.assertEqual(function_in("1492", "1865"), 1) def test_function_wrongs3(self): self.assertEqual(function_in("1492", "1234"), 3) def test_function_main1(self): self.assertEqual(main("1492", "2013"), "0-2") def test_function_main2(self): self.assertEqual(main("1492", "1865"), "1-0") def test_function_main3(self): self.assertEqual(main("1492", "1234"), "1-2") def test_function_main4(self): self.assertEqual(main("1492", "4321"), "0-3") def test_function_main2(self): self.assertEqual(main("1492", "1492"), "4-0") # 2013 1865 1234 4321 7491 if __name__ == '__main__': unittest.main() # Lara -> Carreira -> Joao -> Ildefonso # Duas funçoes
26.306122
59
0.644686
162
1,289
4.895062
0.283951
0.0971
0.208071
0.204288
0.466583
0.24338
0.118537
0.118537
0.118537
0
0
0.131965
0.206362
1,289
48
60
26.854167
0.643206
0.058185
0
0.074074
0
0
0.091887
0
0
0
0
0
0.407407
1
0.407407
false
0
0.074074
0
0.518519
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
1
0
0
5
f6c767116efed68f35683ab89afc20d337369776
57
py
Python
ingestion/Blocktrace/Utils/__init__.py
mharrisb1/blocktrace
3c54286d4f28c3b0610f577dfdbbf643953475fa
[ "MIT" ]
null
null
null
ingestion/Blocktrace/Utils/__init__.py
mharrisb1/blocktrace
3c54286d4f28c3b0610f577dfdbbf643953475fa
[ "MIT" ]
null
null
null
ingestion/Blocktrace/Utils/__init__.py
mharrisb1/blocktrace
3c54286d4f28c3b0610f577dfdbbf643953475fa
[ "MIT" ]
null
null
null
from Blocktrace.Utils.BlocktraceLog import BlocktraceLog
28.5
56
0.894737
6
57
8.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.070175
57
1
57
57
0.962264
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1008a42d80a9d96fc462dd16f302a76153e65a73
50
py
Python
layers/__init__.py
Eralaf/ssd.pytorch
acad53fd801f32120ecb3ff57950556e35db3d1c
[ "MIT" ]
null
null
null
layers/__init__.py
Eralaf/ssd.pytorch
acad53fd801f32120ecb3ff57950556e35db3d1c
[ "MIT" ]
null
null
null
layers/__init__.py
Eralaf/ssd.pytorch
acad53fd801f32120ecb3ff57950556e35db3d1c
[ "MIT" ]
null
null
null
from .functions import * from .modules import *
16.666667
24
0.72
6
50
6
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.2
50
2
25
25
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
120b5cff3daf1978ed8b9f7ebd4c97384e6d3730
76
py
Python
workspace/module/python-2.7/LxPreset/prsMethods/__init__.py
no7hings/Lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
2
2018-03-06T03:33:55.000Z
2019-03-26T03:25:11.000Z
workspace/module/python-2.7/LxPreset/prsMethods/__init__.py
no7hings/lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
null
null
null
workspace/module/python-2.7/LxPreset/prsMethods/__init__.py
no7hings/lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
null
null
null
# coding:utf-8 from ._prsMtdProduct import * from ._prsMtdUtility import *
15.2
29
0.763158
9
76
6.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0.015385
0.144737
76
4
30
19
0.846154
0.157895
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
121d8d31c3088d7d42fcd997dc692350325d116b
88
py
Python
heuslertools/xps/__init__.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
heuslertools/xps/__init__.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
heuslertools/xps/__init__.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
""" Tools for handling XPS measurements """ from .xps_measurement import XPSMeasurement
17.6
43
0.795455
10
88
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.125
88
4
44
22
0.896104
0.397727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
89e7971d7c3bd4bd0fa247b729f9a895a0fab833
11,923
py
Python
bb2cogs/server_log.py
Team-EG/j-bot
2e160707d13cc4988f370713fc9f57c7cff3f5bb
[ "MIT" ]
2
2020-07-07T01:15:15.000Z
2021-08-15T19:49:32.000Z
bb2cogs/server_log.py
Team-EG/j-bot
2e160707d13cc4988f370713fc9f57c7cff3f5bb
[ "MIT" ]
null
null
null
bb2cogs/server_log.py
Team-EG/j-bot
2e160707d13cc4988f370713fc9f57c7cff3f5bb
[ "MIT" ]
1
2020-04-08T04:23:10.000Z
2020-04-08T04:23:10.000Z
import discord import json import time import os import shutil from time import localtime, strftime from discord.ext import commands class Server_Log(commands.Cog): def __init__(self, client): self.client = client # embed 탬플릿 (앞에 #을 지우고 사용하세요) # embed.add_field(name='', value='', inline=False) @commands.Cog.listener() async def on_message_delete(self, message): embed = discord.Embed(title='메시지 삭제됨', colour=discord.Color.red()) embed.set_author(name=message.author.display_name, icon_url=message.author.avatar_url) embed.add_field(name=f'#{message.channel}', value=f'{message.content}') try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(message.guild.text_channels, name=data[str(message.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_raw_bulk_message_delete(self, payload): if len(payload.message_ids) == 1: return embed = discord.Embed(title='메시지 대량 삭제됨', colour=discord.Color.red()) embed.add_field(name='삭제된 메시지 개수', value=str(len(payload.message_ids)), inline=False) embed.add_field(name='메시지가 삭제된 채널', value=f"<#{payload.channel_id}>", inline=False) try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(self.client.get_guild(payload.guild_id).text_channels, name=data[str(payload.guild_id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_message_edit(self, before, after): if before.content == after.content: return embed = discord.Embed(title='메시지 수정됨', colour=discord.Color.lighter_grey()) embed.set_author(name=before.author.display_name, icon_url=before.author.avatar_url) embed.add_field(name='기존 내용', value=f'{before.content}') embed.add_field(name='수정된 내용', value=f'{after.content}', inline=False) try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(after.guild.text_channels, name=data[str(after.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_guild_channel_delete(self, channel): embed = discord.Embed(title='채널 삭제됨', colour=discord.Color.red()) embed.set_author(name=channel.guild.name, icon_url=channel.guild.icon_url) embed.add_field(name='채널 이름', value=f'{channel.name}', inline=False) try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(channel.guild.text_channels, name=data[str(channel.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_guild_channel_create(self, channel): embed = discord.Embed(title='채널 생성됨', colour=discord.Color.green()) embed.set_author(name=channel.guild.name, icon_url=channel.guild.icon_url) embed.add_field(name='채널 이름', value=f'{channel.name}', inline=False) try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(channel.guild.text_channels, name=data[str(channel.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_guild_channel_update(self, before, after): num = 0 embed = discord.Embed(title='채널 업데이트됨', colour=discord.Color.lighter_grey()) embed.set_author(name=after.name) if not before.name == after.name: embed.add_field(name='채널 이름', value=f'{before.name} -> {after.name}', inline=False) num += 1 if not before.changed_roles == after.changed_roles: before_role = before.changed_roles after_role = after.changed_roles br_list = [] ar_list = [] for i in before_role: br_mention = i.mention br_list.append(br_mention) for i in after_role: ar_mention = i.mention ar_list.append(ar_mention) if len(br_list) == len(ar_list): return embed.add_field(name='역할 변경', value=f'{br_list} -> {ar_list}', inline=False) num += 1 if not before.category == after.category: embed.add_field(name='카테고리 변경', value=f'{before.category} -> {after.category}', inline=False) num += 1 try: if num == 0: return with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(after.guild.text_channels, name=data[str(after.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_member_update(self, before, after): num = 0 embed = discord.Embed(title='유저 업데이트됨', colour=discord.Color.lighter_grey()) embed.set_author(name=after.display_name, icon_url=after.avatar_url) if not before.display_name == after.display_name: embed.add_field(name='닉네임 변경 전', value=f'{before.display_name}', inline=False) embed.add_field(name='닉네임 변경 후', value=f'{after.display_name}', inline=False) num += 1 if not before.roles == after.roles: before_role = before.roles after_role = after.roles br_list = [] ar_list = [] for i in before_role: br_mention = i.mention br_list.append(br_mention) for i in after_role: ar_mention = i.mention ar_list.append(ar_mention) if len(br_list) == len(ar_list): return embed.add_field(name='역할 변경 전', value=f'{br_list}', inline=False) embed.add_field(name='역할 변경 후', value=f'{ar_list}', inline=False) num += 1 try: if num == 0: return with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(after.guild.text_channels, name=data[str(after.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_guild_update(self, before, after): num = 0 embed = discord.Embed(title='서버 업데이트됨', colour=discord.Color.lighter_grey()) embed.set_author(name=after.name, icon_url=after.icon_url) if not before.name == after.name: embed.add_field(name='서버 이름', value=f'{before.name} -> {after.name}', inline=False) num += 1 if not before.region == after.region: embed.add_field(name='서버 지역', value=f'{before.region} -> {after.region}', inline=False) num += 1 if not before.verification_level == after.verification_level: embed.add_field(name='서버 보안 수준', value=f'{before.verification_level} -> {after.verification_level}', inline=False) num += 1 if not before.owner_id == after.owner_id: embed.add_field(name='서버 소유자', value=f'{before.owner.display_name} -> {after.owner.mention}', inline=False) num += 1 try: if num == 0: return with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(after.text_channels, name=data[str(after.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_guild_role_create(self, role): embed = discord.Embed(title='역할 생성됨', colour=discord.Color.green()) embed.set_author(name=role.guild.name, icon_url=role.guild.icon_url) embed.add_field(name='역할', value=f'{role.mention}', inline=False) try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(role.guild.text_channels, name=data[str(role.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_guild_role_delete(self, role): embed = discord.Embed(title='역할 삭제됨', colour=discord.Color.red()) embed.set_author(name=role.guild.name, icon_url=role.guild.icon_url) embed.add_field(name='역할 이름', value=f'{role.name}', inline=False) try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(role.guild.text_channels, name=data[str(role.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_member_ban(self, guild, user): embed = discord.Embed(title='맴버 차단됨', colour=discord.Color.red()) embed.set_author(name=guild.name, icon_url=guild.icon_url) embed.add_field(name='맴버 이름', value=f'{user.name}', inline=False) embed.add_field(name='맴버 서버 닉네임', value=f'{user.display_name}', inline=False) try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(guild.text_channels, name=data[str(guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_member_unban(self, guild, user): embed = discord.Embed(title='맴버 차단 해제됨', colour=discord.Color.green()) embed.set_author(name=guild.name, icon_url=guild.icon_url) embed.add_field(name='맴버 이름', value=f'{user.name}', inline=False) try: with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(guild.text_channels, name=data[str(guild.id)]['log_channel']) await channel.send(embed=embed) except: pass @commands.Cog.listener() async def on_guild_role_update(self, before, after): num = 0 embed = discord.Embed(title='역할 업데이트됨', colour=discord.Color.lighter_grey()) embed.set_author(name=after.guild.name, icon_url=after.guild.icon_url) if not before.name == after.name: embed.add_field(name='역할 이름', value=f'{before.name} -> {after.mention}', inline=False) num += 1 if not before.colour == after.colour: embed.add_field(name='역할 색깔', value=f'{before.colour} -> {after.colour}', inline=False) num += 1 try: if num == 0: return with open("data/guildsetup.json", "r") as f: data = json.load(f) channel = discord.utils.get(after.guild.text_channels, name=data[str(after.guild.id)]['log_channel']) await channel.send(embed=embed) except: pass # embed 탬플릿 (앞에 #을 지우고 사용하세요) # embed.add_field(name='', value=f'{}', inline=False) def setup(client): client.add_cog(Server_Log(client))
39.480132
144
0.579552
1,525
11,923
4.406557
0.091148
0.032143
0.052232
0.068304
0.814732
0.785268
0.733929
0.675298
0.650298
0.622173
0
0.002366
0.291034
11,923
301
145
39.611296
0.792618
0.012916
0
0.659751
0
0
0.106971
0.012652
0
0
0
0
0
1
0.008299
false
0.053942
0.029046
0
0.074689
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
d61719e2cae28c54567aaaf041ba2a915c5d1f7f
159
py
Python
tests/__init__.py
typoctf/pytxdata
36989500b1583161efd2253f66204d97a1c81f29
[ "MIT" ]
null
null
null
tests/__init__.py
typoctf/pytxdata
36989500b1583161efd2253f66204d97a1c81f29
[ "MIT" ]
null
null
null
tests/__init__.py
typoctf/pytxdata
36989500b1583161efd2253f66204d97a1c81f29
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from pytxdata import set_directory def setup_module(module): set_directory() def teardown_module(module): set_directory()
13.25
34
0.704403
20
159
5.35
0.6
0.336449
0.280374
0.448598
0
0
0
0
0
0
0
0.007634
0.176101
159
11
35
14.454545
0.80916
0.132075
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0
0.6
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
7f1b30301a3de59ffe806cb4a987f4371c4fabd2
187
py
Python
environments/gym_pycolab/envs/__init__.py
braemt/attentive-multi-task-deep-reinforcement-learning
921feefce98076f88c892f0b7e6db8572f596763
[ "MIT" ]
12
2019-04-07T02:04:48.000Z
2022-03-22T12:57:47.000Z
environments/gym_pycolab/envs/__init__.py
braemt/attentive-multi-task-deep-reinforcement-learning
921feefce98076f88c892f0b7e6db8572f596763
[ "MIT" ]
null
null
null
environments/gym_pycolab/envs/__init__.py
braemt/attentive-multi-task-deep-reinforcement-learning
921feefce98076f88c892f0b7e6db8572f596763
[ "MIT" ]
7
2019-04-07T02:04:49.000Z
2020-12-28T10:30:27.000Z
# THIS FILE IS NEW OR MODIFIED COMPARED TO https://github.com/deepmind/pycolab from gym_pycolab.envs.pycolab_env import PycolabEnv from gym_pycolab.envs.pycolab_grid_worlds_env import *
37.4
78
0.834225
30
187
5
0.7
0.093333
0.186667
0.24
0.333333
0
0
0
0
0
0
0
0.101604
187
4
79
46.75
0.892857
0.406417
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
612f56f7c268214366f505c80cc4b6be3d3d1ca4
36
py
Python
tests/__init__.py
ChromaticIsobar/chromatictools
746bb68547c383812a5996503328fc1ab40dacb4
[ "MIT" ]
null
null
null
tests/__init__.py
ChromaticIsobar/chromatictools
746bb68547c383812a5996503328fc1ab40dacb4
[ "MIT" ]
1
2022-03-10T14:43:55.000Z
2022-03-10T14:43:55.000Z
tests/__init__.py
ChromaticIsobar/chromatictools
746bb68547c383812a5996503328fc1ab40dacb4
[ "MIT" ]
null
null
null
"""Unit tests for chromatictools"""
18
35
0.722222
4
36
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.8125
0.805556
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
614093ac65193448e0967d14d56afb529662f27f
6,993
py
Python
ofspy/test/test_contract.py
ehsanfar/ofspy_v2
6eedfec4bb36c48473abfd473941c5d3b34590b6
[ "Apache-2.0" ]
null
null
null
ofspy/test/test_contract.py
ehsanfar/ofspy_v2
6eedfec4bb36c48473abfd473941c5d3b34590b6
[ "Apache-2.0" ]
null
null
null
ofspy/test/test_contract.py
ehsanfar/ofspy_v2
6eedfec4bb36c48473abfd473941c5d3b34590b6
[ "Apache-2.0" ]
null
null
null
""" Copyright 2015 Paul T. Grogan, Massachusetts Institute of Technology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ """ Test cases for L{ofspy.contract}. """ import unittest from ..data import Data from ..demand import Demand from ..valueSchedule import ValueSchedule from ..surface import Surface from ..orbit import Orbit from ..simulator import Simulator from ..contract import Contract class ContractTestCase(unittest.TestCase): def setUp(self): self.contract1 = Contract(Demand(0, 'SAR', 1, ValueSchedule([(0,1)],-1))) self.contract2 = Contract(Demand(1, 'SAR', 1, ValueSchedule([(1,4), (2,2)],-1))) self.sim = Simulator(entities=set([self.contract1, self.contract2]), initTime=0, timeStep=1, maxTime=3) self.surface = Surface(0) self.orbit = Orbit(0, 'LEO') def tearDown(self): self.contract1 = None self.contract2 = None self.sim = None self.surface = None self.orbit = None def test_getValue(self): self.sim.init() self.assertEqual(self.contract1.getValue(), 1) self.assertEqual(self.contract2.getValue(), 4) self.sim.advance() self.assertEqual(self.contract1.getValue(), -1) self.assertEqual(self.contract2.getValue(), 4) self.sim.advance() self.assertEqual(self.contract1.getValue(), -1) self.assertEqual(self.contract2.getValue(), 2) self.sim.advance() self.assertEqual(self.contract1.getValue(), -1) self.assertEqual(self.contract2.getValue(), -1) def test_isDefaulted(self): self.sim.init() self.assertFalse(self.contract1.isDefaulted(self.orbit)) self.assertFalse(self.contract2.isDefaulted(self.orbit)) self.assertFalse(self.contract1.isDefaulted(self.surface)) self.assertFalse(self.contract2.isDefaulted(self.surface)) self.assertTrue(self.contract1.isDefaulted(None)) self.assertTrue(self.contract2.isDefaulted(None)) self.sim.advance() self.assertTrue(self.contract1.isDefaulted(self.orbit)) self.assertFalse(self.contract2.isDefaulted(self.orbit)) self.assertTrue(self.contract1.isDefaulted(self.surface)) self.assertFalse(self.contract2.isDefaulted(self.surface)) self.assertTrue(self.contract1.isDefaulted(None)) self.assertTrue(self.contract2.isDefaulted(None)) self.sim.advance() self.assertTrue(self.contract1.isDefaulted(self.orbit)) self.assertFalse(self.contract2.isDefaulted(self.orbit)) self.assertTrue(self.contract1.isDefaulted(self.surface)) self.assertFalse(self.contract2.isDefaulted(self.surface)) self.assertTrue(self.contract1.isDefaulted(None)) self.assertTrue(self.contract2.isDefaulted(None)) self.sim.advance() self.assertTrue(self.contract1.isDefaulted(self.orbit)) self.assertTrue(self.contract2.isDefaulted(self.orbit)) self.assertTrue(self.contract1.isDefaulted(self.surface)) self.assertTrue(self.contract2.isDefaulted(self.surface)) self.assertTrue(self.contract1.isDefaulted(None)) self.assertTrue(self.contract2.isDefaulted(None)) def test_isCompleted(self): self.sim.init() self.assertFalse(self.contract1.isCompleted(self.orbit)) self.assertFalse(self.contract2.isCompleted(self.orbit)) self.assertTrue(self.contract1.isCompleted(self.surface)) self.assertTrue(self.contract2.isCompleted(self.surface)) self.assertFalse(self.contract1.isCompleted(None)) self.assertFalse(self.contract2.isCompleted(None)) self.sim.advance() self.assertFalse(self.contract1.isCompleted(self.orbit)) self.assertFalse(self.contract2.isCompleted(self.orbit)) self.assertFalse(self.contract1.isCompleted(self.surface)) self.assertTrue(self.contract2.isCompleted(self.surface)) self.assertFalse(self.contract1.isCompleted(None)) self.assertFalse(self.contract2.isCompleted(None)) self.sim.advance() self.assertFalse(self.contract1.isCompleted(self.orbit)) self.assertFalse(self.contract2.isCompleted(self.orbit)) self.assertFalse(self.contract1.isCompleted(self.surface)) self.assertTrue(self.contract2.isCompleted(self.surface)) self.assertFalse(self.contract1.isCompleted(None)) self.assertFalse(self.contract2.isCompleted(None)) self.sim.advance() self.assertFalse(self.contract1.isCompleted(self.orbit)) self.assertFalse(self.contract2.isCompleted(self.orbit)) self.assertFalse(self.contract1.isCompleted(self.surface)) self.assertFalse(self.contract2.isCompleted(self.surface)) self.assertFalse(self.contract1.isCompleted(None)) self.assertFalse(self.contract2.isCompleted(None)) def test_init(self): self.contract1.init(self.sim) self.assertEqual(self.contract1.elapsedTime, self.contract1._initElapsedTime) self.contract1._initElapsedTime = 1 self.contract1.init(self.sim) self.assertEqual(self.contract1.elapsedTime, 1) def test_tick(self): self.contract1.init(self.sim) self.contract2.init(self.sim) self.contract1.tick(self.sim) self.contract2.tick(self.sim) self.assertEqual(self.contract1.elapsedTime, self.sim.initTime) self.assertEqual(self.contract2.elapsedTime, self.sim.initTime) self.contract1.tock() self.contract2.tock() self.contract1.tick(self.sim) self.contract2.tick(self.sim) self.assertEqual(self.contract1.elapsedTime, self.sim.timeStep) self.assertEqual(self.contract2.elapsedTime, self.sim.timeStep) def test_tock(self): self.contract1.init(self.sim) self.contract2.init(self.sim) self.contract1.tick(self.sim) self.contract2.tick(self.sim) self.contract1.tock() self.contract2.tock() self.assertEqual(self.contract1.elapsedTime, self.sim.timeStep) self.assertEqual(self.contract2.elapsedTime, self.sim.timeStep) self.contract1.tick(self.sim) self.contract2.tick(self.sim) self.contract1.tock() self.contract2.tock() self.assertEqual(self.contract1.elapsedTime, 2*self.sim.timeStep) self.assertEqual(self.contract2.elapsedTime, 2*self.sim.timeStep)
44.541401
88
0.694123
804
6,993
6.027363
0.141791
0.134131
0.109781
0.086669
0.756707
0.746801
0.736071
0.718737
0.697482
0.697482
0
0.023055
0.187473
6,993
157
89
44.541401
0.829813
0.084799
0
0.653543
0
0
0.001417
0
0
0
0
0
0.519685
1
0.062992
false
0
0.062992
0
0.133858
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
5
617aad89503d97714477f7cf2f26c05390d91b5b
119
py
Python
heuslertools/magnetism/__init__.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
heuslertools/magnetism/__init__.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
heuslertools/magnetism/__init__.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
""" Tools for handling magnetic conversions and calculations """ from .layer import Layer from .crystal import Crystal
19.833333
56
0.789916
15
119
6.266667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.142857
119
5
57
23.8
0.921569
0.470588
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
618bc96f684dccae541012862da9fde6ed20280c
37
py
Python
tests/__init__.py
DigitalBiomarkerDiscoveryPipeline/fasting
85e0e05ff3279a1503413fd33a1d785281d9a940
[ "MIT" ]
2
2021-02-24T14:56:19.000Z
2021-08-21T08:59:51.000Z
tests/__init__.py
DigitalBiomarkerDiscoveryPipeline/fasting
85e0e05ff3279a1503413fd33a1d785281d9a940
[ "MIT" ]
null
null
null
tests/__init__.py
DigitalBiomarkerDiscoveryPipeline/fasting
85e0e05ff3279a1503413fd33a1d785281d9a940
[ "MIT" ]
1
2021-03-01T16:10:57.000Z
2021-03-01T16:10:57.000Z
"""Unit test package for fasting."""
18.5
36
0.675676
5
37
5
1
0
0
0
0
0
0
0
0
0
0
0
0.135135
37
1
37
37
0.78125
0.810811
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
619aa212575066a9c49e10ad2bf1defd273ada82
170
py
Python
src/main.py
focom/proto-memoire
af4b01fe502509b0a987290f2c11c3b0829a3e59
[ "MIT" ]
null
null
null
src/main.py
focom/proto-memoire
af4b01fe502509b0a987290f2c11c3b0829a3e59
[ "MIT" ]
null
null
null
src/main.py
focom/proto-memoire
af4b01fe502509b0a987290f2c11c3b0829a3e59
[ "MIT" ]
null
null
null
# from classes.game import * from tkinter import * from classes.personality import Personality from classes.main import * if ( __name__ == '__main__'): main = Main()
24.285714
43
0.729412
21
170
5.52381
0.428571
0.284483
0
0
0
0
0
0
0
0
0
0
0.170588
170
6
44
28.333333
0.822695
0.152941
0
0
0
0
0.056338
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
61a8e72cbc532c6676092b6a4b9a5a2a210ce8ee
32
py
Python
evaluation.py
AndreSoble/PerformerDualEncoder
6394133c788a3a6571119d62486356a2f16211f5
[ "MIT" ]
1
2021-05-05T21:00:59.000Z
2021-05-05T21:00:59.000Z
evaluation.py
AndreSoble/PerformerDualEncoder
6394133c788a3a6571119d62486356a2f16211f5
[ "MIT" ]
null
null
null
evaluation.py
AndreSoble/PerformerDualEncoder
6394133c788a3a6571119d62486356a2f16211f5
[ "MIT" ]
1
2021-02-03T16:30:14.000Z
2021-02-03T16:30:14.000Z
def run_xnli(model): pass
6.4
20
0.625
5
32
3.8
1
0
0
0
0
0
0
0
0
0
0
0
0.28125
32
5
21
6.4
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
5
61b5243a2b658de71e307f2ebf301b95b418d28b
198
py
Python
python/basic-tutorials/demo/002/arithmetic-sum.py
capricorncd/my-notes
a2899a99bbb9680bf3a77652a4b154afd53964f5
[ "MIT" ]
5
2017-10-23T01:30:14.000Z
2021-04-05T16:51:02.000Z
python/basic-tutorials/demo/002/arithmetic-sum.py
capricorncd/my-notes
a2899a99bbb9680bf3a77652a4b154afd53964f5
[ "MIT" ]
3
2017-08-03T02:50:30.000Z
2017-11-22T03:35:16.000Z
python/basic-tutorials/demo/002/arithmetic-sum.py
capricorncd/my-notes
a2899a99bbb9680bf3a77652a4b154afd53964f5
[ "MIT" ]
10
2017-10-08T11:38:08.000Z
2021-04-09T09:00:31.000Z
x1 = 1 d = 3 n = 100 x100 = x1 + (100 - 1) * d s = 0 while (n > 0): s += x1 + (n - 1) * d n -= 1 ''' # or while (n > 0): n -= 1 s += x1 + n * d ''' print 'x100 = ', x100 print 'sum = ', s
10.421053
25
0.378788
39
198
1.923077
0.333333
0.08
0.186667
0
0
0
0
0
0
0
0
0.227642
0.378788
198
18
26
11
0.382114
0
0
0
0
0
0.090278
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
1
null
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
61ba33b39ffda24136b0c8348dd9c4eb37a9c3d4
224
py
Python
pyblis/__init__.py
jcrist/pyblis
d9c67d40a15c656a4681ba1b9ca0c52eff40163c
[ "BSD-3-Clause" ]
2
2020-03-07T14:02:51.000Z
2021-02-03T05:18:11.000Z
pyblis/__init__.py
jcrist/pyblis
d9c67d40a15c656a4681ba1b9ca0c52eff40163c
[ "BSD-3-Clause" ]
null
null
null
pyblis/__init__.py
jcrist/pyblis
d9c67d40a15c656a4681ba1b9ca0c52eff40163c
[ "BSD-3-Clause" ]
null
null
null
from . import lib from ._wrappers import dot def _init_numba(): """Initialize the numba extension""" from . import _numba from ._version import get_versions __version__ = get_versions()['version'] del get_versions
20.363636
40
0.745536
29
224
5.344828
0.517241
0.212903
0.232258
0
0
0
0
0
0
0
0
0
0.165179
224
10
41
22.4
0.828877
0.133929
0
0
0
0
0.037234
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.714286
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
61bf6f612dc50ff5fce3dd4b3ef93ff78b65a5e7
5,717
py
Python
reversible2/distribution.py
robintibor/reversible2
e6fea33ba41c7f76ee50295329b4ef27b879a7fa
[ "MIT" ]
null
null
null
reversible2/distribution.py
robintibor/reversible2
e6fea33ba41c7f76ee50295329b4ef27b879a7fa
[ "MIT" ]
null
null
null
reversible2/distribution.py
robintibor/reversible2
e6fea33ba41c7f76ee50295329b4ef27b879a7fa
[ "MIT" ]
null
null
null
import torch as th from reversible2.gaussian import get_gauss_samples import torch.nn.functional as F class TwoClassDist(object): def __init__(self, n_class_dims, n_non_class_dims, i_class_inds, truncate_to=3): super(TwoClassDist, self).__init__() self.class_means = th.zeros(n_class_dims, requires_grad=True) self.non_class_means = th.zeros( n_class_dims + n_non_class_dims, requires_grad=True ) self.class_log_stds = th.zeros(n_class_dims, requires_grad=True) self.non_class_log_stds = th.zeros( n_class_dims + n_non_class_dims, requires_grad=True ) self.truncate_to = truncate_to self.i_class_inds = i_class_inds def get_mean_std(self, i_class): i_i_class = self.i_class_inds[i_class] cur_mean = th.cat( ( self.non_class_means[:i_i_class], self.class_means[i_class : i_class + 1], self.non_class_means[i_i_class + 1 :], ) ) cur_log_std = th.cat( ( self.non_class_log_stds[:i_i_class], self.class_log_stds[i_class : i_class + 1], self.non_class_log_stds[i_i_class + 1 :], ) ) return cur_mean, th.exp(cur_log_std) def get_samples(self, i_class, n_samples): cur_mean, cur_std = self.get_mean_std(i_class) samples = get_gauss_samples( n_samples, cur_mean, cur_std, truncate_to=self.truncate_to ) return samples def cuda(self): self.class_means.data = self.class_means.data.cuda() self.non_class_means.data = self.non_class_means.data.cuda() self.class_log_stds.data = self.class_log_stds.data.cuda() self.non_class_log_stds.data = self.non_class_log_stds.data.cuda() return self def parameters(self): return [ self.class_means, self.non_class_means, self.class_log_stds, self.non_class_log_stds, ] def change_to_other_class(self, outs, i_class_from, i_class_to, eps=1e-6): mean_from, std_from = self.get_mean_std(i_class_from) mean_to, std_to = self.get_mean_std(i_class_to) normed = (outs - mean_from.unsqueeze(0)) / (std_from.unsqueeze(0) + eps) transformed = (normed * std_to.unsqueeze(0)) + mean_to.unsqueeze(0) return transformed def get_class_log_prob(self, i_class, out): mean, std = self.get_mean_std(i_class) cls_dist = th.distributions.MultivariateNormal( mean[self.i_class_inds], covariance_matrix=th.diag(std[self.i_class_inds] ** 2), ) return cls_dist.log_prob(out[:, self.i_class_inds]) def get_total_log_prob(self, i_class, out): mean, std = self.get_mean_std(i_class) cls_dist = th.distributions.MultivariateNormal( mean, covariance_matrix=th.diag(std ** 2) ) return cls_dist.log_prob(out) def set_mean_std(self, i_class, mean, std): i_i_class = self.i_class_inds[i_class] self.class_means.data[i_class] = mean.data[i_i_class] self.class_log_stds.data[i_class] = th.log(std).data[i_i_class] self.non_class_means.data[:i_i_class] = mean.data[:i_i_class] self.non_class_means.data[i_i_class + 1 :] = mean.data[i_i_class + 1 :] self.non_class_log_stds.data[:i_i_class] = th.log(std).data[:i_i_class] self.non_class_log_stds.data[i_i_class + 1 :] = th.log(std).data[i_i_class + 1 :] class TwoClassIndependentDist(object): def __init__(self, n_dims, truncate_to=3): super(TwoClassIndependentDist, self).__init__() self.class_means = th.zeros(2, n_dims, requires_grad=True) self.class_log_stds = th.zeros(2, n_dims, requires_grad=True) self.truncate_to = truncate_to def get_mean_std(self, i_class): cur_mean = self.class_means[i_class] cur_log_std = self.class_log_stds[i_class] return cur_mean, th.exp(cur_log_std) def get_samples(self, i_class, n_samples): cur_mean, cur_std = self.get_mean_std(i_class) samples = get_gauss_samples( n_samples, cur_mean, cur_std, truncate_to=self.truncate_to ) return samples def cuda(self): self.class_means.data = self.class_means.data.cuda() self.class_log_stds.data = self.class_log_stds.data.cuda() return self def parameters(self): return [self.class_means, self.class_log_stds] def change_to_other_class(self, outs, i_class_from, i_class_to, eps=1e-6): mean_from, std_from = self.get_mean_std(i_class_from) mean_to, std_to = self.get_mean_std(i_class_to) normed = (outs - mean_from.unsqueeze(0)) / (std_from.unsqueeze(0) + eps) transformed = (normed * std_to.unsqueeze(0)) + mean_to.unsqueeze(0) return transformed def get_class_log_prob(self, i_class, out): return self.get_total_log_prob(i_class, out) def get_total_log_prob(self, i_class, out): mean, std = self.get_mean_std(i_class) cls_dist = th.distributions.MultivariateNormal( mean, covariance_matrix=th.diag(std ** 2) ) return cls_dist.log_prob(out) def set_mean_std(self, i_class, mean, std): self.class_means.data[i_class] = mean.data self.class_log_stds.data[i_class] = th.log(std).data def log_softmax(self, outs): log_probs = th.stack([self.get_total_log_prob(i_class, outs) for i_class in range(2)], dim=-1) log_softmaxed = F.log_softmax(log_probs, dim=1) return log_softmaxed
39.427586
89
0.650341
866
5,717
3.900693
0.08776
0.110124
0.071048
0.056838
0.880699
0.833037
0.804026
0.726169
0.673179
0.622558
0
0.007211
0.248032
5,717
144
90
39.701389
0.778553
0
0
0.471545
0
0
0
0
0
0
0
0
0
1
0.154472
false
0
0.02439
0.02439
0.317073
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f606a9f839b318a8bb089bf46410cb9dd7e84ecb
155
py
Python
onwebchange/__init__.py
ClericPy/OnWebChange
af12ec80582f7368aa2f4e707b49e7430632af42
[ "MIT" ]
null
null
null
onwebchange/__init__.py
ClericPy/OnWebChange
af12ec80582f7368aa2f4e707b49e7430632af42
[ "MIT" ]
5
2019-09-08T16:47:37.000Z
2020-02-06T15:34:18.000Z
onwebchange/__init__.py
ClericPy/OnWebChange
af12ec80582f7368aa2f4e707b49e7430632af42
[ "MIT" ]
null
null
null
#! coding: utf-8 from .core import WatchdogCage, WatchdogTask, WebHandler __version__ = '0.3.4' __all__ = ['WatchdogCage', 'WatchdogTask', 'WebHandler']
22.142857
56
0.729032
17
155
6.176471
0.823529
0.457143
0.647619
0
0
0
0
0
0
0
0
0.029412
0.122581
155
6
57
25.833333
0.742647
0.096774
0
0
0
0
0.280576
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
f644537b6e546a2020aa4b7f9b60d43cbb0d0df1
632
py
Python
OnshoreBattlebot2018/Controllers/__init__.py
roy-love/BattleCode2018-ReferenceBot
c017cf804728dd1555ab6a60acdd2a6f7a929281
[ "MIT" ]
null
null
null
OnshoreBattlebot2018/Controllers/__init__.py
roy-love/BattleCode2018-ReferenceBot
c017cf804728dd1555ab6a60acdd2a6f7a929281
[ "MIT" ]
null
null
null
OnshoreBattlebot2018/Controllers/__init__.py
roy-love/BattleCode2018-ReferenceBot
c017cf804728dd1555ab6a60acdd2a6f7a929281
[ "MIT" ]
null
null
null
from Controllers.BuildController import BuildController from Controllers.CommunicationController import CommunicationController from Controllers.EnemyTrackingController import EnemyTrackingController from Controllers.MapController import MapController from Controllers.PathfindingController import PathfindingController from Controllers.ResearchTreeController import ResearchTreeController from Controllers.StrategyController import StrategyController from Controllers.TargettingController import TargettingController from Controllers.UnitController import UnitController from Controllers.MissionController import MissionController
57.454545
71
0.920886
50
632
11.64
0.26
0.257732
0
0
0
0
0
0
0
0
0
0
0.063291
632
10
72
63.2
0.983108
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
f65d41308aed99f15b52247bd4e97b9eb05b11c2
122
py
Python
xl_tensorflow/metrics/detection.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
null
null
null
xl_tensorflow/metrics/detection.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
1
2020-11-13T18:52:23.000Z
2020-11-13T18:52:23.000Z
xl_tensorflow/metrics/detection.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
null
null
null
#!usr/bin/env python3 # -*- coding: UTF-8 -*- from .rafaelpadilla.Evaluator import Evaluator,BoundingBoxes,BoundingBox
17.428571
72
0.745902
14
122
6.5
0.928571
0
0
0
0
0
0
0
0
0
0
0.018519
0.114754
122
6
73
20.333333
0.824074
0.344262
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
f65e47ab78876208a7ef3fc2fbd0ef3aa071fd57
19,177
py
Python
BAUM.py
praveenbaim/B-AIM
5269cfc9a690fb7d9c5609f27c1ce67b0c886aac
[ "Unlicense" ]
1
2021-01-29T07:14:34.000Z
2021-01-29T07:14:34.000Z
BAUM.py
praveenbaim/B-AIM
5269cfc9a690fb7d9c5609f27c1ce67b0c886aac
[ "Unlicense" ]
null
null
null
BAUM.py
praveenbaim/B-AIM
5269cfc9a690fb7d9c5609f27c1ce67b0c886aac
[ "Unlicense" ]
null
null
null
# mantra print("mantra") #BAUMBAUMBHOLE print("BAUMBAUMBHOLE") #start print("start") import math import facebook # TIME(creation+preservance+destruction+love+wealth+knowledge=0) code to write its own code repeats here when the individual stages with the 1.xls phases of 198 steps to learn itself the next step # example of only time has been mentioned to make things easy to # NOTE KEEP UPDATING THIS CODE PAGE WITH ANY CHANGES IN THE REMAINING 9 FILES # mantra print("mantra") # AUMAIMHREEMKLEEMCHAMUNDAYAVICCHE print("AUMAIMHREEMKLEEMCHAMUNDAYAVICCHE") #THE DEFINITION OF INTELLIGENCE CONSTANTLY KEEPS CHANGING print("THE DEFINITION OF INTELLIGENCE CONSTANTLY KEEPS CHANGING") #start print("start") #todo import functions #todo add colors based on distance import math import facebook kali_x=0 kali_y=0 kali_z=0 #KALI(TIME= (0,0,0)) gave birth to BRAHMA(creation=(0,0,10)) brahma_x=0 brahma_y=0 brahma_z=10 #Distance between KALI and BRAHMA kali_brahma=((kali_x-brahma_x)**2)+((kali_y-brahma_y)**2)+((kali_z-brahma_z)**2) dist_kali_brahma=math.sqrt(kali_brahma) print("\n\nDistance between KALI and BRAHMA:",dist_kali_brahma) print("CREATION INITIATED") #Creation could not sustain through which VISHNU(PRESERVANCE=(0,10,0)) was born vishnu_x=0 vishnu_y=10 vishnu_z=0 #Distance between BRAHMA and VISHNU brahma_vishnu=((brahma_x-vishnu_x)**2)+((brahma_y-vishnu_y)**2)+((brahma_z-vishnu_z)**2) dist_brahma_vishnu=math.sqrt(brahma_vishnu) print("\n\nDistance between BRAHMA and VISHNU:",dist_brahma_vishnu) print("PRESERVANCE INITIATED") #Preservance not ending so SHIVA WAS BORN (Destruction=(0,0,-10)) shiva_x=0 shiva_y=0 shiva_z=-10 #Distance between VISHNU and SHIVA vishnu_shiva=((vishnu_x-shiva_x)**2)+((vishnu_y-shiva_y)**2)+((vishnu_z-shiva_z)**2) dist_vishnu_shiva=math.sqrt(vishnu_shiva) print("\n\nDistance between VISHNU and SHIVA:",dist_vishnu_shiva) print("DESTRUCTION INITIATED") #Destruction made dark matter=(0,0,0) darkmatter_x=0 darkmatter_y=0 darkmatter_z=0 #Distance between SHIVA and DARK MATTER shiva_darkmatter=((shiva_x-darkmatter_x)**2)+((shiva_y-darkmatter_y)**2)+((shiva_z-darkmatter_z)**2) dist_shiva_darkmatter=math.sqrt(shiva_darkmatter) print("\n\nDistance between SHIVA AND DARKMATTER:",dist_shiva_darkmatter) print("DESTRUCTION made DARKMATTER") #RETAINANCE DONE BY DARMATTER INTO SHIVANI(LOVE=(-10,0,0)) parvathy_x=-10 parvathy_y=0 parvathy_z=0 #Distance between DARKMATTER and PARVATHY darkmatter_parvathy=((darkmatter_x-parvathy_x)**2)+((darkmatter_y-parvathy_y)**2)+((darkmatter_z-parvathy_z)**2) dist_darkmatter_parvathy=math.sqrt(darkmatter_parvathy) print("\n\nDistance between DARKMATTER and PARVATHY:",dist_darkmatter_parvathy) print("RETAINANCE INITIATED") #RETAINANCE REQUIRED LAKSHMI SUPPORT(WEALTH=(0,-10,0)) lakshmi_x=0 lakshmi_y=-10 lakshmi_z=0 #Distance between PARVATHY and LAKSHMI parvathy_lakshmi=((parvathy_x-lakshmi_x)**2)+((parvathy_y-lakshmi_y)**2)+((parvathy_z-lakshmi_z)**2) dist_parvathy_lakshmi=math.sqrt(parvathy_lakshmi) print("\n\nDistance between PARVATHY and LAKSHMI:",dist_parvathy_lakshmi) print("RESOURCES INITIATED") #RESOURCES ABSORB KNOWLEDGE(SARASWATHI=(10,0,0) saraswathi_x=10 saraswathi_y=0 saraswathi_z=0 #Distance between LAKSHMI and SARASWATHI lakshmi_saraswathi=((lakshmi_x-saraswathi_x)**2)+((lakshmi_y-saraswathi_y)**2)+((lakshmi_z-saraswathi_z)**2) dist_lakshmi_saraswathi=math.sqrt(lakshmi_saraswathi) print("\n\nDistance between LAKSHMI and SARASWATHI:",dist_lakshmi_saraswathi) print("KNOWLEDGE ACQUIRED") #DEEP LEARNING CYCLES AN ITERATION DARKMATTER(TIME=(0,0,0) darkmatter_x=0 darkmatter_y=0 darkmatter_z=0 #Distance between SARASWATHI and DARKMATTER saraswathi_darkmatter=((saraswathi_x-darkmatter_x)**2)+((saraswathi_y-darkmatter_y)**2)+((saraswathi_z-darkmatter_z)**2) dist_saraswathi_darkmatter=math.sqrt(saraswathi_darkmatter) print("\n\nDistance between SARASWATHI and DARKMATTER:",dist_saraswathi_darkmatter) print("CYCLE ITERATION COMPLETED") BAUM1 = [["MY","TIPS"], ["DEDICATION","ADDED","ON","DATE","AUM"], ["BLOG","BOOK"], ["SRI","LAKSHMI","KUBERA","YANTRAM", "MODEL","FORMING","IN","SOMETIME", "AS","PREDICTED","USING","BAIM", "DATED","19:49","-","SUNDAY", "06/08/2017"], ["TIME","FRAMES", "BAUMBUMBHOLE","VIDEO", "BAIM","CALL","SCRIPT", "ENTREPRENEUR", "DIGITAL","MARKETING"], ["1","12/11/16","BUSINESS","MODEL","CREATION", "SWOT","ANALYSIS","USING", "ASSUMPTION","THEORY"], ["CONCLUSION", "COMMUNICATE","WITH", "CERN","DATA", "USING","MY","AI"], ["AND","CONTINOUS","PULLING","DATA", "AND","TRAIN","THE","AI","SYSTEM"], ["6/8/2017","-","PROJECT","VISHNU"], ["NEED","MONEY","FOREVER","ACCORDING", "TO","MY","PLAN","AND","APPROVAL"], ["PROJECT","WISDOM"]] BAUM2 =["7:53","PM","6/8/2017", "ENTER","NEW","PROFILE","FOR","OPERA","BROWSER", "PRIVACY","CHECKUP","FOR","GMAIL","PRAVEEN.KADIRI", "PROFILE","WITH","CHANGED","PASSWORD","TO", "Heartbreak!123", "RESOURCES","IN","YOUTUBE","PLAYLIST","NEEDS","TO","BE","ADDED", "CATEGORIZED","INTO","4", "1","AUM", "2","PINEAL","GLAND", "3","FAV", "4","FAVOURITES", "PICASA","HAS","ALL","THE","PHOTOS","THAT","ARE","TO","BE", "CONSIDERED","FOR","THE","PROJECT","FINAL", "PRESENTATION", "PROJECT","MANAGEMENT","FOLDER","COPY", "WILL","BE","EDITED","AND","MADE","CHANGES","WITHIN"] BAUM3 = ["NEED","TECHIES","HUB","PPT","TO","SEND","ACROSS", "WITH","HALF","MADE","PPTS","OF","MINE","AMAZON","AND", "B-AIM","->","AMAZON","24","SLIDES", "B-AIM","-","26","SLIDES", "YOUTUBE",":","ACTIVATE","QI","FLOW","WITH","OM", "MANTRA","AND","POWERFUL","DRUMS", "BUDDHA","FACE"] #green print("green") #Pr print("Pr") #black print("black") #pivot table print("pivot table") #rows print("rows") #against print("against") #columns print("columns") #match print("match") #colors print("colors") #5+2(black+white) print("5+2(black+white)") #Project shiva print("Project shiva") #baum baum bole print("baum baum bole") #business 2 sides baum print("business 2 sides baum") #1 task i can do 2 tasks i am not able to link print("1 task i can do 2 tasks i am not able to link") #3=2+(1) print("3=2+(1)") #333.3.33 last excel calculation print("333.3.33 last excel calculation") #yellow print("yellow") #PK print("PK") #THE RESTORATION print("THE RESTORATION") #opposite print("opposite") #white print("white") #phone contacts print("phone contacts") #contact colors last updated print("contact colors last updated") #calls print("calls") #lappy profiles print("lappy profiles") #10 projects print("10 projects") #666+1+333 print("666+1+333") #blue print("blue") #graphs print("graphs") #geographical locations print("geographical locations") #calculation print("calculation") #excel file print("excel file") #* and 1 max compatibility print("* and 1 max compatibility") #tab apps print("tab apps") #resources print("resources") #programming print("programming") #contacts print("contacts") #syncing print("syncing") #ads on profiles should change print("ads on profiles should change") #emails print("emails") #start clean print("start clean") #small zero print("small zero") #big zero print("big zero") #cern print("cern") #transaction print("transaction") #to cern print("to cern") #should give access to cern info print("should give access to cern info") #using ARN print("using ARN") #opposite print("opposite") #wiccan print("wiccan") #calendar print("calendar") #black print("black") #do what you can the game project starts print("do what you can the game project starts") #tab apps print("tab apps") #pyramids print("pyramids") #secret print("secret") #the game print("he game") #link print("link") #research symbols print("research symbols") #8 print("8") #2d print("2d") #3d print("3d") #3d+2d print("3d+2d") #4 print("4") #8 print("8") #swastik print("swastik") #baum print("baum") #1 print("1") #green print("green") #Pr print("Pr") #weigh print("weigh") #Project B-AUM print("Project B-AUM") #photos print("photos") #last updated print("last updated") #18-06-2016 18:05 print("18-06-2016 18:05") #news print("news") #translate print("translate") #1 print("1") #opposite print("opposite") #vishnu promise print("vishnu promise") #white print("white") #tab app print("tab app") #0 print("0") #numbers print("numbers") #folders print("folders") #project print("project") #B-AUM print("B-AUM") #Sarpam print("Sarpam") #chess print("chess") #chessboard print("chessboard") #using print("using") #tic tac toe print("tic tac toe") #and print("and") #PSO print("PSO") #7 print("7") #USA print("USA") #Restoration print("restoration") #the restoration of the gospel of jesus christ print("the restoration of the gospel of jesus christ") #last updated print("last updated") #moves print("moves") #opposite print("opposite") #shiva promise print("shiva promise") #university print("university") #blame print("blame") #enter the web print("enter the web") #herbalife print("herbalife") #ARN print("ARN") #disputes barclays print("disputes barclays") #globalize print("globalize") #reverse print("reverse") #engineering print("engineering") #project shiva vishnu print("project shiva vishnu") #last updated print("last updated") #moves print("moves") #opposite print("opposite") #university print("university") #meedha pettala print("meedha pettala") #yellow print("yellow") #PK print("PK") #shiva vishnu promise print("shiva vishnu promise") #0 print("0") #shiva vishnu vishnu promise print("shiva vishnu vishnu promise") #4 print("4") #refer opposite SWOT print("refer opposite SWOT") #white print("white") #blue print("blue") #e print("e") #tablet print("tablet") #movies print("movies") #songs print("songs") #boolean algebra print("boolean algebra") #blue print("blue") #white print("white") #kalyan lok print("kalyan lok") #blue print("blue") #opposite print("opposite") #OR print("OR") #vishnu promise print("vishnu promise") #0=1+1 print("0=1+1") #miracle print("miracle") #god print("god") #particle print("particle") #UK print("UK") #CERN print("CERN") #pick phone print("pick phone") #phone apps print("phone apps") #0 print("0") #1 transaction should change the world print("1 transaction should change the world") #shiva promise print("#shiva promise") #PSO print("PSO") #2 print("2") #raelian movement print("raelian movement") #swastik print("swastik") #baum print("baum") #colors print("colors") #5 print("5") #red print("red") #white print("white") #blue print("blue") #yellow print("yellow") #white print("white") #blue print("blue") #green print("green") #white print("white") #blue print("blue") #AUM print("AUM") #white print("white") #baum print("baum") #use excel to filter raelian symbol print("use excel to filter raelian symbol") #01-Jul print("01-Jul") #red print("red") #PR print("PR") #6 print("6") #colors print("colors") #SWOT print("SWOT") #vishnu vishnu promise print("vishnu vishnu promise") #game ends print("ame ends") #swastik print("swastik") #LVUGKE print("LVUGKE") #instead of living die/50-50 live using baum and let die print("instead of living die/50-50 live using baum and let die") #ADGRACE print("ADGRACE") #sell world print("sell world") #1+ give donation print("1+ give donation") #calculation refer to notes print("calculation refer to notes") #michelle calculation 200 200 print("michelle calculation 200 200") #Journalist calculation print("Journalist calculation") #credability came into exitence print("credability came into exitence") #04:03 print("04:03") #make email sarpam to hackers print("make email sarpam to hackers") #all fields print("all fields") #using boolean algebra print("using boolean algebra") #9 print("9") #blue print("blue") #white print("white") #kalyan lok print("kalyan lok") #blue print("blue") # CREATION # PRESERVANCE # DESTRUCTION # DARK MATTER # LOVE # WEALTH # KNOWLEDGE #green print("green") #Pr print("Pr") #black print("black") #pivot table print("pivot table") #rows print("rows") #against print("against") #columns print("columns") #match print("match") #colors print("colors") #5+2(black+white) print("5+2(black+white)") #Project shiva print("Project shiva") #baum baum bole print("baum baum bole") #business 2 sides baum print("business 2 sides baum") #1 task i can do 2 tasks i am not able to link print("1 task i can do 2 tasks i am not able to link") #3=2+(1) print("3=2+(1)") #333.3.33 last excel calculation print("333.3.33 last excel calculation") #yellow print("yellow") #PK print("PK") #THE RESTORATION print("THE RESTORATION") #opposite print("opposite") #white print("white") #phone contacts print("phone contacts") #contact colors last updated print("contact colors last updated") #calls print("calls") #lappy profiles print("lappy profiles") #10 projects print("10 projects") #666+1+333 print("666+1+333") #blue print("blue") #graphs print("graphs") #geographical locations print("geographical locations") #calculation print("calculation") #excel file print("excel file") #* and 1 max compatibility print("* and 1 max compatibility") #tab apps print("tab apps") #resources print("resources") #programming print("programming") #contacts print("contacts") #syncing print("syncing") #ads on profiles should change print("ads on profiles should change") #emails print("emails") #start clean print("start clean") #small zero print("small zero") #big zero print("big zero") #cern print("cern") #transaction print("transaction") #to cern print("to cern") #should give access to cern info print("should give access to cern info") #using ARN print("using ARN") #opposite print("opposite") #wiccan print("wiccan") #calendar print("calendar") #black print("black") #do what you can the game project starts print("do what you can the game project starts") #tab apps print("tab apps") #pyramids print("pyramids") #secret print("secret") #the game print("he game") #link print("link") #research symbols print("research symbols") #8 print("8") #2d print("2d") #3d print("3d") #3d+2d print("3d+2d") #4 print("4") #8 print("8") #swastik print("swastik") #baum print("baum") #1 print("1") #green print("green") #Pr print("Pr") #weigh print("weigh") #Project B-AUM print("Project B-AUM") #photos print("photos") #last updated print("last updated") #18-06-2016 18:05 print("18-06-2016 18:05") #news print("news") #translate print("translate") #1 print("1") #opposite print("opposite") #vishnu promise print("vishnu promise") #white print("white") #tab app print("tab app") #0 print("0") #numbers print("numbers") #folders print("folders") #project print("project") #B-AUM print("B-AUM") #Sarpam print("Sarpam") #chess print("chess") #chessboard print("chessboard") #using print("using") #tic tac toe print("tic tac toe") #and print("and") #PSO print("PSO") #7 print("7") #USA print("USA") #Restoration print("restoration") #the restoration of the gospel of jesus christ print("the restoration of the gospel of jesus christ") #last updated print("last updated") #moves print("moves") #opposite print("opposite") #shiva promise print("shiva promise") #university print("university") #blame print("blame") #enter the web print("enter the web") #herbalife print("herbalife") #ARN print("ARN") #disputes barclays print("disputes barclays") #globalize print("globalize") #reverse print("reverse") #engineering print("engineering") #project shiva vishnu print("project shiva vishnu") #last updated print("last updated") #moves print("moves") #opposite print("opposite") #university print("university") #meedha pettala print("meedha pettala") #yellow print("yellow") #PK print("PK") #shiva vishnu promise print("shiva vishnu promise") #0 print("0") #shiva vishnu vishnu promise print("shiva vishnu vishnu promise") #4 print("4") #refer opposite SWOT print("refer opposite SWOT") #white print("white") #blue print("blue") #e print("e") #tablet print("tablet") #movies print("movies") #songs print("songs") #boolean algebra print("boolean algebra") #blue print("blue") #white print("white") #kalyan lok print("kalyan lok") #blue print("blue") #opposite print("opposite") #OR print("OR") #vishnu promise print("vishnu promise") #0=1+1 print("0=1+1") #miracle print("miracle") #god print("god") #particle print("particle") #UK print("UK") #CERN print("CERN") #pick phone print("pick phone") #phone apps print("phone apps") #0 print("0") #1 transaction should change the world print("1 transaction should change the world") #shiva promise print("#shiva promise") #PSO print("PSO") #2 print("2") #raelian movement print("raelian movement") #swastik print("swastik") #baum print("baum") #colors print("colors") #5 print("5") #red print("red") #white print("white") #blue print("blue") #yellow print("yellow") #white print("white") #blue print("blue") #green print("green") #white print("white") #blue print("blue") #AUM print("AUM") #white print("white") #baum print("baum") #use excel to filter raelian symbol print("use excel to filter raelian symbol") #01-Jul print("01-Jul") #red print("red") #PR print("PR") #6 print("6") #colors print("colors") #SWOT print("SWOT") #vishnu vishnu promise print("vishnu vishnu promise") #game ends print("ame ends") #swastik print("swastik") #LVUGKE print("LVUGKE") #instead of living die/50-50 live using baum and let die print("instead of living die/50-50 live using baum and let die") #ADGRACE print("ADGRACE") #sell world print("sell world") #1+ give donation print("1+ give donation") #calculation refer to notes print("calculation refer to notes") #michelle calculation 200 200 print("michelle calculation 200 200") #Journalist calculation print("Journalist calculation") #credability came into exitence print("credability came into exitence") #04:03 print("04:03") #make email sarpam to hackers print("make email sarpam to hackers") #all fields print("all fields") #using boolean algebra print("using boolean algebra") #9 print("9") #blue print("blue") #white print("white") #kalyan lok print("kalyan lok") #blue print("blue")
19.488821
197
0.673046
2,626
19,177
4.868241
0.155369
0.015645
0.02112
0.013767
0.709168
0.701502
0.701502
0.69368
0.69368
0.69368
0
0.027729
0.163164
19,177
983
198
19.508647
0.768881
0.263806
0
0.794521
0
0
0.415787
0.002521
0
0
0
0.001017
0
1
0
false
0.001957
0.007828
0
0.007828
0.812133
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
9c85978b13d95120915d356ea0dfd1e037f89dec
100
py
Python
positions/examples/ci_settings_postgres.py
Elec/django-positions
1ee904ccfc82679d630cbab4358c5d6cc763f6df
[ "BSD-3-Clause" ]
118
2015-01-13T20:04:00.000Z
2022-03-22T17:27:05.000Z
positions/examples/ci_settings_postgres.py
Elec/django-positions
1ee904ccfc82679d630cbab4358c5d6cc763f6df
[ "BSD-3-Clause" ]
28
2015-02-11T22:14:52.000Z
2021-06-10T17:29:38.000Z
positions/examples/ci_settings_postgres.py
elec/django-positions
1ee904ccfc82679d630cbab4358c5d6cc763f6df
[ "BSD-3-Clause" ]
48
2015-01-19T15:54:09.000Z
2022-03-07T02:58:55.000Z
from .settings_postgres import * DATABASES['default'].update({'USER': 'postgres', 'PASSWORD': ''})
25
65
0.69
10
100
6.8
0.9
0
0
0
0
0
0
0
0
0
0
0
0.09
100
3
66
33.333333
0.747253
0
0
0
0
0
0.27
0
0
0
0
0
0
1
0
true
0.5
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
9c92d28196a805d20a4e7df03fcc9494d36778ad
56
py
Python
panopticon/fifemon-condor-probe/fifemon/__init__.py
opensciencegrid/open-pool-display
ff78368a1f747076602466a2a22ab15c76d4da43
[ "Apache-2.0" ]
8
2016-05-19T20:45:09.000Z
2019-05-23T15:31:13.000Z
panopticon/fifemon-condor-probe/fifemon/__init__.py
opensciencegrid/open-pool-display
ff78368a1f747076602466a2a22ab15c76d4da43
[ "Apache-2.0" ]
12
2022-01-19T22:39:32.000Z
2022-03-22T18:47:20.000Z
panopticon/fifemon-condor-probe/fifemon/__init__.py
opensciencegrid/open-pool-display
ff78368a1f747076602466a2a22ab15c76d4da43
[ "Apache-2.0" ]
8
2022-01-18T23:27:43.000Z
2022-02-28T21:56:26.000Z
from .probe import Probe from .graphite import Graphite
18.666667
30
0.821429
8
56
5.75
0.5
0
0
0
0
0
0
0
0
0
0
0
0.142857
56
2
31
28
0.958333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9c96d125c0e26df6795bfc9a37b310c85a40704f
625
py
Python
saopy/DUL/__init__.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
2
2016-11-03T14:57:45.000Z
2019-05-13T13:21:08.000Z
saopy/DUL/__init__.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
null
null
null
saopy/DUL/__init__.py
CityPulse/CP_Resourcemanagement
aa670fa89d5e086a98ade3ccc152518be55abf2e
[ "MIT" ]
1
2020-07-23T11:27:15.000Z
2020-07-23T11:27:15.000Z
import saopy.model from saopy.model import DUL___DesignedArtifact as DesignedArtifact from saopy.model import DUL___Event as Event from saopy.model import DUL___InformationEntity as InformationEntity from saopy.model import DUL___InformationObject as InformationObject from saopy.model import DUL___Method as Method from saopy.model import DUL___Object as Object from saopy.model import DUL___PhysicalObject as PhysicalObject from saopy.model import DUL___Process as Process from saopy.model import DUL___Quality as Quality from saopy.model import DUL___Region as Region from saopy.model import DUL___Situation as Situation
44.642857
68
0.8704
91
625
5.615385
0.186813
0.234834
0.30137
0.430528
0.495108
0
0
0
0
0
0
0
0.1104
625
13
69
48.076923
0.919065
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
9c9d989cde84aba6f75c0afd56f61aaaca182ba2
133
py
Python
mmdet/ops/nms/__init__.py
morkovka1337/mmdetection
5187d94b6c96084b17817249622d6e4520213ae6
[ "Apache-2.0" ]
58
2020-09-21T08:17:26.000Z
2022-03-31T19:38:14.000Z
mmdet/ops/nms/__init__.py
morkovka1337/mmdetection
5187d94b6c96084b17817249622d6e4520213ae6
[ "Apache-2.0" ]
170
2020-09-08T12:29:06.000Z
2022-03-31T18:28:09.000Z
mmdet/ops/nms/__init__.py
morkovka1337/mmdetection
5187d94b6c96084b17817249622d6e4520213ae6
[ "Apache-2.0" ]
21
2020-10-06T13:49:41.000Z
2022-03-30T14:52:45.000Z
# Copyright (C) 2020-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 # from .nms_wrapper import nms, batched_nms, NMSop
26.6
48
0.774436
20
133
5.05
0.9
0
0
0
0
0
0
0
0
0
0
0.08547
0.120301
133
4
49
33.25
0.777778
0.578947
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9cdefab39a05dd0175512bb650e79319b14ae506
186
py
Python
awdd/json_writer.py
rickmark/awdd_decode
d53e0eb52b9b5aabe11b30fd2fa4e403e3c08fd0
[ "MIT" ]
3
2021-10-02T17:59:13.000Z
2022-01-12T20:25:55.000Z
awdd/json_writer.py
rickmark/awdd_decode
d53e0eb52b9b5aabe11b30fd2fa4e403e3c08fd0
[ "MIT" ]
null
null
null
awdd/json_writer.py
rickmark/awdd_decode
d53e0eb52b9b5aabe11b30fd2fa4e403e3c08fd0
[ "MIT" ]
1
2022-03-25T19:14:05.000Z
2022-03-25T19:14:05.000Z
from . import WriterBase from .object import * from io import IOBase class JsonWriter(WriterBase): def write_to(self, value: DiagnosticObject, stream: IOBase) -> None: pass
23.25
72
0.725806
23
186
5.826087
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.193548
186
8
73
23.25
0.893333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
5
9cf99846ffb943106017680308b45e856eebf63f
3,777
py
Python
simplechinese/representation.py
chenmingxiang110/SimpleChinese2
91f90672f25daadbfccd2ab22f026a65889705af
[ "MIT" ]
78
2021-06-21T02:28:14.000Z
2022-03-18T13:35:16.000Z
simplechinese/representation.py
chenmingxiang110/SimpleChinese
4562fd4bcb0e6922904715f5214f141e92db90e5
[ "MIT" ]
3
2021-06-30T11:03:58.000Z
2021-09-09T10:39:27.000Z
simplechinese/representation.py
chenmingxiang110/SimpleChinese2
91f90672f25daadbfccd2ab22f026a65889705af
[ "MIT" ]
24
2021-06-21T02:30:49.000Z
2021-08-23T09:49:03.000Z
import numpy as np import pandas as pd from .nlp import extract_words from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer from sklearn.decomposition import PCA, NMF from sklearn.cluster import KMeans, DBSCAN, MeanShift import jieba jieba.setLogLevel(60) def pca(x, n_components=2): """ Perform dimension reduction with the principal component analysis algorithm. The input data should be a pandas.Series of vectors. | """ pca = PCA(n_components=n_components) return pd.Series(pca.fit_transform(list(x)).tolist(), index=x.index) def nmf(x, n_components=2): """ Perform dimension reduction with the non-negative matrix factorization algorithm. The input data should be a pandas.Series of vectors. | """ nmf = NMF(n_components=n_components, init="random", random_state=0) return pd.Series(nmf.fit_transform(list(x)).tolist(), index=x.index) def term_frequency(x, mode=0, max_features=None, return_feature_names=False): """ Extract the words and vectorize each element in the pandas.Series by the frequency of each word. Args: x: The pandas.Series to be parsed. max_features: The maximum number of features return_feature_names: Return the token words or not. mode: 0: No single character words. The words may be overlapped. 1: Have single character words. The words may be overlapped. 2: No single character words. The words are not overlapped. 3: Have single character words. The words are not overlapped. 4: Only single characters. Returns: The vectorization result. | """ if mode not in [0,1,2,3,4]: raise ValueError("The mode should be chosen from 0-4.") if not isinstance(x, pd.Series): raise ValueError("The type of the input variable should be pandas.Series.") vectorizer = CountVectorizer(max_features=max_features, lowercase=False, token_pattern="\S+") y = extract_words(x, isList=False, mode=mode, token=" ") y = pd.Series(vectorizer.fit_transform(y).toarray().tolist(), index=x.index) if return_feature_names: return (y, tf.get_feature_names()) else: return y def tfidf(x, mode=0, max_features=None, min_df=1, return_feature_names=False): """ Extract the words and vectorize each element in the pandas.Series by the tfidf scores. Args: x: The pandas.Series to be parsed. max_features: The maximum number of features return_feature_names: Return the token words or not. mode: 0: No single character words. The words may be overlapped. 1: Have single character words. The words may be overlapped. 2: No single character words. The words are not overlapped. 3: Have single character words. The words are not overlapped. 4: Only single characters. Returns: The vectorization result. | """ if mode not in [0,1,2,3,4]: raise ValueError("The mode should be chosen from 0-4.") if not isinstance(x, pd.Series): raise ValueError("The type of the input variable should be pandas.Series.") vectorizer = TfidfVectorizer(use_idf=True, max_features=max_features, min_df=min_df, token_pattern="\S+", lowercase=False,) y = extract_words(x, isList=False, mode=mode, token=" ") y = pd.Series(vectorizer.fit_transform(y).toarray().tolist(), index=y.index) if return_feature_names: return (y, tf.get_feature_names()) else: return y
34.336364
138
0.647074
508
3,777
4.720472
0.244094
0.033361
0.066722
0.076731
0.742285
0.742285
0.724771
0.724771
0.724771
0.65638
0
0.011586
0.268732
3,777
109
139
34.651376
0.856626
0.393963
0
0.409091
0
0
0.091337
0
0
0
0
0
0
1
0.090909
false
0
0.159091
0
0.386364
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
1426ddaa4bbd36738aacef6f4f0ee634b6cc8737
419
py
Python
challenges/quicksort/test_quicksort.py
jayadams011/data-structures-and-algorithms
b9a49c65ca769c82b2a34d840bd1e4dd626be025
[ "MIT" ]
null
null
null
challenges/quicksort/test_quicksort.py
jayadams011/data-structures-and-algorithms
b9a49c65ca769c82b2a34d840bd1e4dd626be025
[ "MIT" ]
4
2018-03-22T16:56:06.000Z
2018-03-28T23:30:29.000Z
challenges/quicksort/test_quicksort.py
jayadams011/data-structures-and-algorithms
b9a49c65ca769c82b2a34d840bd1e4dd626be025
[ "MIT" ]
null
null
null
"""Test and test imports.""" from .quicksort import quicksort import pytest def test_empty_quick_sort(): """Test empty quick sort.""" assert quicksort([]) == ([]) def test_small_quick_sort(): """Test small quick sort.""" assert quicksort([2, 3, 1]) == ([1, 2, 3]) def test_large_quick_sort(): """Test large quick sort.""" assert quicksort([910, 78, 56, 34, 12]) == ([12, 34, 56, 78, 910])
22.052632
70
0.613365
59
419
4.20339
0.372881
0.217742
0.157258
0.290323
0
0
0
0
0
0
0
0.083086
0.195704
419
18
71
23.277778
0.652819
0.217184
0
0
0
0
0
0
0
0
0
0
0.375
1
0.375
true
0
0.25
0
0.625
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
5
145f729a8b36b2cdea29781ceb79dae47b08e7b8
149
py
Python
driver_logbook/app/users/__init__.py
solloc/driver-logbook
466d48c11d9722b042191f4ddcca6c680b5f47fe
[ "MIT" ]
null
null
null
driver_logbook/app/users/__init__.py
solloc/driver-logbook
466d48c11d9722b042191f4ddcca6c680b5f47fe
[ "MIT" ]
20
2019-03-24T17:56:05.000Z
2020-06-04T17:50:55.000Z
driver_logbook/app/users/__init__.py
solloc/driver-logbook
466d48c11d9722b042191f4ddcca6c680b5f47fe
[ "MIT" ]
null
null
null
from flask import Blueprint bp = Blueprint('users', __name__, url_prefix='/users') from driver_logbook.app.users import routes # noqa: E402, F401
24.833333
63
0.758389
21
149
5.095238
0.761905
0
0
0
0
0
0
0
0
0
0
0.046512
0.134228
149
5
64
29.8
0.782946
0.107383
0
0
0
0
0.083969
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
5
14674695fff0c74c2eec1a69050ffd5c7041e7ff
132
py
Python
BERT/model/__init__.py
FDChongLi/TwoWaysToImproveCSC
488d8d3e94a57c9f93679370e17cc561131883cc
[ "MIT" ]
50
2021-06-04T13:11:23.000Z
2022-03-25T09:15:00.000Z
BERT/model/__init__.py
FDChongLi/TwoWaysToImproveCSC
488d8d3e94a57c9f93679370e17cc561131883cc
[ "MIT" ]
8
2021-06-17T09:06:38.000Z
2022-01-28T07:21:30.000Z
BERT/model/__init__.py
FDChongLi/TwoWaysToImproveCSC
488d8d3e94a57c9f93679370e17cc561131883cc
[ "MIT" ]
11
2021-06-11T08:41:50.000Z
2022-03-01T06:43:22.000Z
from .dataset import BertDataset,construct from .BertFineTune import BertFineTune from .AdGen import BFTLogitGen,readAllConfusionSet
44
50
0.878788
14
132
8.285714
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.083333
132
3
50
44
0.958678
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1496d72d5c3304fda087067b240900a56db3abc5
112
py
Python
djstripe/contrib/__init__.py
hoopit/dj-stripe
726853081cd95be86777492c23fb61de5d35a72a
[ "MIT" ]
2
2020-09-01T20:05:28.000Z
2021-07-22T08:20:42.000Z
djstripe/contrib/__init__.py
hoopit/dj-stripe
726853081cd95be86777492c23fb61de5d35a72a
[ "MIT" ]
1
2021-02-24T15:01:41.000Z
2021-03-25T20:44:53.000Z
djstripe/contrib/__init__.py
hoopit/dj-stripe
726853081cd95be86777492c23fb61de5d35a72a
[ "MIT" ]
2
2020-01-31T14:26:09.000Z
2020-07-14T04:24:15.000Z
""" .. module:: dj-stripe.contrib. :synopsis: Extra modules not pertaining to core logic of dj-stripe. """
18.666667
71
0.669643
15
112
5
0.866667
0.213333
0
0
0
0
0
0
0
0
0
0
0.178571
112
5
72
22.4
0.815217
0.919643
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
14b922b57e69d204a3fc4aa954fba22264105fe4
182
py
Python
engine/__init__.py
KelOdgSmile/ml-cvnets
503ec3b4ec187cfa0ed451d0f61de22f669b0081
[ "AML" ]
1
2021-12-20T09:25:18.000Z
2021-12-20T09:25:18.000Z
engine/__init__.py
footh/ml-cvnets
d9064fe7e7a2d6a7a9817df936432856a0500a25
[ "AML" ]
null
null
null
engine/__init__.py
footh/ml-cvnets
d9064fe7e7a2d6a7a9817df936432856a0500a25
[ "AML" ]
null
null
null
# # For licensing see accompanying LICENSE file. # Copyright (C) 2020 Apple Inc. All Rights Reserved. # from .training_engine import Trainer from .evaluation_engine import Evaluator
26
52
0.796703
24
182
5.958333
0.875
0.167832
0
0
0
0
0
0
0
0
0
0.025641
0.142857
182
7
53
26
0.891026
0.521978
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
14bf0695cc1566c0ab41862b46716cfaf0878e18
42
py
Python
tests/__init__.py
afraniofilho/covid_vision
b633c255030ff9dcb00523e377c0e1ef6771ca50
[ "MIT" ]
2
2020-05-11T14:22:17.000Z
2020-06-25T02:12:20.000Z
tests/__init__.py
afraniofilho/covid_vision
b633c255030ff9dcb00523e377c0e1ef6771ca50
[ "MIT" ]
6
2020-11-13T18:50:31.000Z
2022-03-12T00:31:29.000Z
tests/__init__.py
afraniofilho/covid_vision
b633c255030ff9dcb00523e377c0e1ef6771ca50
[ "MIT" ]
3
2020-05-12T21:47:33.000Z
2020-07-10T07:30:28.000Z
"""Unit test package for covid_vision."""
21
41
0.714286
6
42
4.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.119048
42
1
42
42
0.783784
0.833333
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
1af9125d99e3f74dc4339a22b2da726ad6cb8c35
183
py
Python
Command.py
mucsci-students/2021sp-420-team1
b3cedc9bd1ac185d703a3e8a754601239abf91fc
[ "MIT" ]
2
2021-02-02T21:53:57.000Z
2021-02-09T02:48:38.000Z
Command.py
mucsci-students/2021sp-420-team1
b3cedc9bd1ac185d703a3e8a754601239abf91fc
[ "MIT" ]
94
2021-02-02T21:44:00.000Z
2021-05-03T03:09:26.000Z
Command.py
mucsci-students/2021sp-420-team1
b3cedc9bd1ac185d703a3e8a754601239abf91fc
[ "MIT" ]
null
null
null
class Command: def __init__(self, function, *args): self.function = function self.args = list(args) def execute(self): self.function(*self.args)
26.142857
41
0.595628
21
183
5
0.428571
0.342857
0.304762
0
0
0
0
0
0
0
0
0
0.289617
183
6
42
30.5
0.807692
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
21029a0ea7fc54328578c835da55a3fbeb88a820
107
py
Python
{{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/__init__.py
miguelarbesu/cookiecutter-reproducible-science
f25f136c9baaa80d0eafdcec97e86f7344f05840
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/__init__.py
miguelarbesu/cookiecutter-reproducible-science
f25f136c9baaa80d0eafdcec97e86f7344f05840
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/__init__.py
miguelarbesu/cookiecutter-reproducible-science
f25f136c9baaa80d0eafdcec97e86f7344f05840
[ "BSD-3-Clause" ]
null
null
null
"""{{cookiecutter.project_name}} {{cookiecutter.short_description}} """ from ._version import __version__
17.833333
34
0.766355
10
107
7.5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.074766
107
5
35
21.4
0.757576
0.598131
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
21699b805fefbcb30a0912dd591950ea7f4257c1
97
py
Python
dirutility/walk/__init__.py
DeeeFOX/dirutility
92317992c8bd2a3feffea7f204e8573a4dea8fd1
[ "MIT" ]
2
2018-07-27T18:34:10.000Z
2018-10-09T21:40:34.000Z
dirutility/walk/__init__.py
mrstephenneal/dirutility
c51b4c3bd543da8bb69e496d0c3ec8333897042c
[ "MIT" ]
7
2018-07-27T17:29:36.000Z
2018-10-01T13:29:52.000Z
dirutility/walk/__init__.py
mrstephenneal/dirutility
c51b4c3bd543da8bb69e496d0c3ec8333897042c
[ "MIT" ]
1
2019-09-26T13:04:04.000Z
2019-09-26T13:04:04.000Z
__all__ = ['DirPaths', 'DirTree', 'gui'] from dirutility.walk.walk import DirPaths, DirTree, gui
32.333333
55
0.731959
12
97
5.583333
0.666667
0.447761
0.537313
0
0
0
0
0
0
0
0
0
0.113402
97
3
55
32.333333
0.77907
0
0
0
0
0
0.183673
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
dcf8cd3439021fd6e4dbcf2b897da09154ac2f30
74
py
Python
stonks/__init__.py
jlowe77/Eris-Cogs
2ade8f82db3477527af3cff3b48ebb281e1a6987
[ "Apache-2.0" ]
6
2020-05-13T20:43:53.000Z
2021-06-23T16:10:13.000Z
stonks/__init__.py
jlowe77/Eris-Cogs
2ade8f82db3477527af3cff3b48ebb281e1a6987
[ "Apache-2.0" ]
12
2019-04-02T13:29:10.000Z
2020-03-27T18:07:16.000Z
stonks/__init__.py
jlowe77/Eris-Cogs
2ade8f82db3477527af3cff3b48ebb281e1a6987
[ "Apache-2.0" ]
9
2020-06-07T21:46:54.000Z
2022-03-01T22:49:02.000Z
from .stonks import Stonks def setup(bot): bot.add_cog(Stonks(bot))
12.333333
28
0.702703
12
74
4.25
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.175676
74
5
29
14.8
0.836066
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
b4a870e4e2dfd5b019b036004693a326b91bd6d7
48
py
Python
coregen/exceptions.py
coregen/coregen
afd3e33f9a6d90504768fac2cfcbdf9752f3a125
[ "MIT" ]
null
null
null
coregen/exceptions.py
coregen/coregen
afd3e33f9a6d90504768fac2cfcbdf9752f3a125
[ "MIT" ]
3
2020-03-24T18:11:23.000Z
2021-02-02T22:26:31.000Z
coregen/exceptions.py
coregen/coregen
afd3e33f9a6d90504768fac2cfcbdf9752f3a125
[ "MIT" ]
null
null
null
class ReadOnlyModification(Exception): pass
16
38
0.791667
4
48
9.5
1
0
0
0
0
0
0
0
0
0
0
0
0.145833
48
2
39
24
0.926829
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
b4b797ad81987171badb6ffbf44c41e7bc818f39
2,949
py
Python
transformer/source/source_formatter.py
SimpleConstructs/fixed-width-parser
b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b
[ "Apache-2.0" ]
null
null
null
transformer/source/source_formatter.py
SimpleConstructs/fixed-width-parser
b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b
[ "Apache-2.0" ]
3
2021-07-18T14:34:38.000Z
2021-07-25T12:49:09.000Z
transformer/source/source_formatter.py
SimpleConstructs/fixed-width-transformer
b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b
[ "Apache-2.0" ]
null
null
null
from transformer.library import logger from transformer.library.exceptions import SourceFileError from transformer.source import SourceFormatterConfig from io import StringIO import pandas as pd log = logger.set_logger(__name__) class AbstractDataMapper: def run(self, config: SourceFormatterConfig, file_name: str) -> pd.DataFrame: pass class HeaderSourceFormatter(AbstractDataMapper): def run(self, config: SourceFormatterConfig, file_name: str) -> pd.DataFrame: try: data = pd.read_fwf(file_name, colspecs=config.specs, names=config.names, converters={h: str for h in config.names}, delimiter="\n\t", nrows=1) if len(data.index) == 0: raise SourceFileError("Invalid Source File, Index is empty", file_name) return data except FileNotFoundError as e: raise SourceFileError(e, file_name) class BodySourceFormatter(AbstractDataMapper): def run(self, config: SourceFormatterConfig, file_name: str) -> pd.DataFrame: try: data = pd.read_fwf(file_name, colspecs=config.specs, header=0, names=config.names, converters={h: str for h in config.names}, skipfooter=1, delimiter="\n\t") if len(data.index) == 0: raise SourceFileError("Invalid Source File, Index is empty", file_name) return data except FileNotFoundError as e: raise SourceFileError(e, file_name) class FooterSourceFormatter(AbstractDataMapper): def run(self, config: SourceFormatterConfig, file_name: str) -> pd.DataFrame: try: with open(file_name, 'r') as lines: read = lines.readlines() if len(read) == 0: raise SourceFileError("Invalid Source File, Index is empty", file_name) last_line = read[-1] data = pd.read_fwf(StringIO(last_line), colspecs=config.specs, names=config.names, converters={h: str for h in config.names}, delimiter="\n\t") return data except FileNotFoundError as e: raise SourceFileError(e, file_name) class BodyOnlySourceFormatter(AbstractDataMapper): def run(self, config: SourceFormatterConfig, file_name: str) -> pd.DataFrame: try: data = pd.read_fwf(file_name, colspecs=config.specs, header=None, names=config.names, converters={h: str for h in config.names}, skipfooter=0, delimiter="\n\t") if len(data.index) == 0: raise SourceFileError("Invalid Source File, Index is empty", file_name) return data except FileNotFoundError as e: raise SourceFileError(e, file_name)
44.014925
100
0.60156
318
2,949
5.490566
0.216981
0.077892
0.068729
0.080183
0.772623
0.772623
0.772623
0.772623
0.772623
0.772623
0
0.004442
0.312987
2,949
67
101
44.014925
0.857354
0
0
0.571429
0
0
0.05322
0
0
0
0
0
0
1
0.089286
false
0.017857
0.089286
0
0.339286
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b4cdca63b483c0cd06121f8bbc53151a8081b512
330
py
Python
winnow/config/__init__.py
benetech/Winnow2.0
bc428d7f74bd7db71b6d70ab15dc7a5c37786c46
[ "MIT" ]
26
2019-12-16T21:22:14.000Z
2022-03-25T16:05:32.000Z
winnow/config/__init__.py
benetech/Winnow2.0
bc428d7f74bd7db71b6d70ab15dc7a5c37786c46
[ "MIT" ]
325
2019-10-28T16:24:45.000Z
2022-03-31T13:12:15.000Z
winnow/config/__init__.py
benetech/Winnow2.0
bc428d7f74bd7db71b6d70ab15dc7a5c37786c46
[ "MIT" ]
9
2019-10-09T16:20:38.000Z
2021-12-22T18:44:45.000Z
from .config import Config, ProcessingConfig, DatabaseConfig, RepresentationConfig, SourcesConfig, TemplatesConfig # Explicitly reexport api # See discussion in https://bugs.launchpad.net/pyflakes/+bug/1178905 __all__ = ["Config", "ProcessingConfig", "DatabaseConfig", "RepresentationConfig", "SourcesConfig", "TemplatesConfig"]
55
118
0.806061
29
330
9.034483
0.758621
0.167939
0.274809
0.427481
0.641221
0.641221
0
0
0
0
0
0.023102
0.081818
330
5
119
66
0.841584
0.272727
0
0
0
0
0.35443
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
b4da341a0f524cb15d0fcebf5f537593a74ff209
152
py
Python
expense_tracker/expense_tracker/views/__init__.py
morganelle/expense-tracker
b5b0b85d87bff4eb453b6d779f28b84e8ce1ddcc
[ "MIT" ]
null
null
null
expense_tracker/expense_tracker/views/__init__.py
morganelle/expense-tracker
b5b0b85d87bff4eb453b6d779f28b84e8ce1ddcc
[ "MIT" ]
null
null
null
expense_tracker/expense_tracker/views/__init__.py
morganelle/expense-tracker
b5b0b85d87bff4eb453b6d779f28b84e8ce1ddcc
[ "MIT" ]
null
null
null
from .default import home_page def includeme(config): """List of views to include for config.""" config.add_view(home_page, route_name='home')
25.333333
49
0.723684
23
152
4.608696
0.782609
0.150943
0
0
0
0
0
0
0
0
0
0
0.157895
152
6
49
25.333333
0.828125
0.236842
0
0
0
0
0.036036
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
2ec3d0f9022701fa40d960da9428dcab2eec08c3
1,357
py
Python
src/stronghold/rosalind_seto.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
src/stronghold/rosalind_seto.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
src/stronghold/rosalind_seto.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), '../tools')) ''' alternative implementation: U = set(i for i in xrange(1, int(file.readline().strip()) + 1)) set1 = set(int(item) for item in file.readline().strip()[1:-1].split(', ')) set2 = set(int(item) for item in file.readline().strip()[1:-1].split(', ')) print '{%s}' % ', '.join(str(element) for element in set1 | set2) print '{%s}' % ', '.join(str(element) for element in set1 & set2) print '{%s}' % ', '.join(str(element) for element in set1 - set2) print '{%s}' % ', '.join(str(element) for element in set2 - set1) print '{%s}' % ', '.join(str(element) for element in U - set1) print '{%s}' % ', '.join(str(element) for element in U - set2) ''' def main(argv): with open(argv[0]) as file: U = set(str(i) for i in xrange(1, int(file.readline().strip()) + 1)) set1 = set(file.readline().strip()[1:-1].split(', ')) set2 = set(file.readline().strip()[1:-1].split(', ')) print '{%s}' % ', '.join(set1 | set2) print '{%s}' % ', '.join(set1 & set2) print '{%s}' % ', '.join(set1 - set2) print '{%s}' % ', '.join(set2 - set1) print '{%s}' % ', '.join(U - set1) print '{%s}' % ', '.join(U - set2) if __name__ == "__main__": main(sys.argv[1:])
34.794872
79
0.53353
192
1,357
3.708333
0.197917
0.101124
0.168539
0.151685
0.77809
0.724719
0.724719
0.724719
0.675562
0.641854
0
0.03626
0.227708
1,357
38
80
35.710526
0.64313
0
0
0
0
0
0.083582
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.375
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
2edd365129dd4028fad298f9cdf273cea2a57931
1,510
py
Python
tests/classes/simple_code.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
50
2021-08-18T08:08:04.000Z
2022-03-20T07:23:26.000Z
tests/classes/simple_code.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
1
2021-11-23T02:12:29.000Z
2021-11-23T13:35:26.000Z
tests/classes/simple_code.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
8
2021-07-01T02:39:15.000Z
2021-12-10T02:20:18.000Z
from __future__ import annotations from typing import Optional from jsonclasses import jsonclass, types @jsonclass class SimpleCode: code: Optional[str] = types.str.length(4) min_code: Optional[str] = types.str.minlength(4) max_code: Optional[str] = types.str.maxlength(8) l_code: Optional[list[int]] = types.listof(int).length(4) l_min_code: Optional[list[int]] = types.listof(int).minlength(4) l_max_code: Optional[list[int]] = types.listof(int).maxlength(8) c_code: Optional[str] = types.str.length(lambda: 4) c_min_code: Optional[str] = types.str.minlength(lambda: 4) c_max_code: Optional[str] = types.str.maxlength(lambda: 8) cl_code: Optional[list[int]] = types.listof(int).length(lambda: 4) cl_min_code: Optional[list[int]] = types.listof(int).minlength(lambda: 4) cl_max_code: Optional[list[int]] = types.listof(int).maxlength(lambda: 8) t_code: Optional[str] = types.str.length(types.default(4)) t_min_code: Optional[str] = types.str.minlength(types.default(4)) t_max_code: Optional[str] = types.str.maxlength(types.default(8)) tl_code: Optional[list[int]] = types.listof(int).length(types.default(4)) tl_min_code: Optional[list[int]] = types.listof(int).minlength(types.default(4)) tl_max_code: Optional[list[int]] = types.listof(int).maxlength(types.default(8)) cd_code: Optional[str] = types.str.length(lambda: 4, lambda: 5) td_code: Optional[str] = types.str.length(types.default(4), types.default(4).add(1))
44.411765
88
0.715232
231
1,510
4.532468
0.151515
0.229226
0.157593
0.210124
0.746896
0.746896
0.719198
0.518625
0.338109
0
0
0.017477
0.128477
1,510
33
89
45.757576
0.778116
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.12
0
0.96
0
0
0
0
null
1
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
d316dd34344fda00b5c0b1835717cb2e54ed3cb3
71
py
Python
tests/package_with_increments/module.py
borzunov/plusplus
e862cef91f1d25cba63b0a15159f7a356a6e9291
[ "MIT" ]
88
2021-09-12T16:44:15.000Z
2022-03-23T08:08:39.000Z
tests/package_with_increments/module.py
borzunov/plusplus
e862cef91f1d25cba63b0a15159f7a356a6e9291
[ "MIT" ]
null
null
null
tests/package_with_increments/module.py
borzunov/plusplus
e862cef91f1d25cba63b0a15159f7a356a6e9291
[ "MIT" ]
4
2021-09-16T05:24:22.000Z
2021-09-25T05:54:45.000Z
def increment_and_return(x): return ++x CONSTANT = 777 ++CONSTANT
11.833333
28
0.704225
10
71
4.8
0.7
0.291667
0
0
0
0
0
0
0
0
0
0.051724
0.183099
71
6
29
11.833333
0.775862
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
5
d379d3a2ade89ad9c4a1014e0282170eee584917
143
py
Python
app/datetime.py
tfuji384/atodeyomu
8a5e61a593d099726131e060a33b8801056bc286
[ "MIT" ]
null
null
null
app/datetime.py
tfuji384/atodeyomu
8a5e61a593d099726131e060a33b8801056bc286
[ "MIT" ]
null
null
null
app/datetime.py
tfuji384/atodeyomu
8a5e61a593d099726131e060a33b8801056bc286
[ "MIT" ]
null
null
null
from datetime import datetime from pytz import timezone jst = timezone('Asia/Tokyo') def now() -> datetime: return datetime.now(tz=jst)
15.888889
31
0.727273
20
143
5.2
0.6
0
0
0
0
0
0
0
0
0
0
0
0.167832
143
8
32
17.875
0.87395
0
0
0
0
0
0.06993
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
5
d397e39178be6cf6746a0c4cf51b3c96c3a928f9
381
py
Python
rlearn/utils/__init__.py
joaopfonseca/research-learn
7121a5e35c2c422d7c3e4de947123aff1744cdcb
[ "MIT" ]
1
2021-06-18T15:22:11.000Z
2021-06-18T15:22:11.000Z
rlearn/utils/__init__.py
joaopfonseca/research-learn
7121a5e35c2c422d7c3e4de947123aff1744cdcb
[ "MIT" ]
1
2021-03-09T11:28:14.000Z
2021-03-09T11:28:14.000Z
rlearn/utils/__init__.py
joaopfonseca/research-learn
7121a5e35c2c422d7c3e4de947123aff1744cdcb
[ "MIT" ]
null
null
null
""" The :mod:`rlearn.utils` module includes various utilities. """ from .validation import ( check_param_grids, check_datasets, check_random_states, check_estimator_type, check_oversamplers_classifiers, ) __all__ = [ 'check_param_grids', 'check_datasets', 'check_random_states', 'check_estimator_type', 'check_oversamplers_classifiers', ]
19.05
58
0.71916
40
381
6.3
0.55
0.079365
0.119048
0.15873
0.722222
0.722222
0.722222
0.722222
0.722222
0.722222
0
0
0.181102
381
19
59
20.052632
0.807692
0.152231
0
0
0
0
0.31746
0.095238
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
6c947f09d79a6ad32bf77eefb2c36f8dd3f8439a
158,076
py
Python
Pandas/Pandas.py
jrderek/Data-science-master-resources
95adab02dccbf5fbe6333389324a1f8d032d3165
[ "MIT" ]
14
2020-09-17T17:04:04.000Z
2021-08-19T05:08:49.000Z
Pandas/Pandas.py
jrderek/Data-science-master-resources
95adab02dccbf5fbe6333389324a1f8d032d3165
[ "MIT" ]
85
2020-10-01T16:53:21.000Z
2021-07-08T17:44:17.000Z
Pandas/Pandas.py
jrderek/Data-science-master-resources
95adab02dccbf5fbe6333389324a1f8d032d3165
[ "MIT" ]
5
2020-09-18T08:53:01.000Z
2021-08-19T05:12:52.000Z
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Part 2" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import numpy as np" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# missing data" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "d = {\n", " 'A': [1,2, np.nan],\n", " 'B':[5, np.nan, np.nan],\n", " 'C':[1,2,3]\n", "}" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "df = pd.DataFrame(d)" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1.0</td>\n", " <td>5.0</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2.0</td>\n", " <td>NaN</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1.0 5.0 1\n", "1 2.0 NaN 2\n", "2 NaN NaN 3" ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## drop nan method" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1.0</td>\n", " <td>5.0</td>\n", " <td>1</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1.0 5.0 1" ] }, "execution_count": 10, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.dropna()" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1.0</td>\n", " <td>5.0</td>\n", " <td>1</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1.0 5.0 1" ] }, "execution_count": 11, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.dropna(axis = 0)" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [], "source": [ "df.dropna??" ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " C\n", "0 1\n", "1 2\n", "2 3" ] }, "execution_count": 14, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.dropna(axis = 1)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## filling value" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1.0</td>\n", " <td>5.0</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2.0</td>\n", " <td>NaN</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1.0 5.0 1\n", "1 2.0 NaN 2\n", "2 NaN NaN 3" ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 16, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1</td>\n", " <td>5</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2</td>\n", " <td>Filling Value</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>Filling Value</td>\n", " <td>Filling Value</td>\n", " <td>3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1 5 1\n", "1 2 Filling Value 2\n", "2 Filling Value Filling Value 3" ] }, "execution_count": 16, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.fillna(value = 'Filling Value')" ] }, { "cell_type": "code", "execution_count": 19, "metadata": {}, "outputs": [], "source": [ "df = pd.DataFrame(d)" ] }, { "cell_type": "code", "execution_count": 22, "metadata": {}, "outputs": [], "source": [ "a = df['A'].fillna(value = df['A'].mean())" ] }, { "cell_type": "code", "execution_count": 23, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1.0</td>\n", " <td>5.0</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2.0</td>\n", " <td>NaN</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1.0 5.0 1\n", "1 2.0 NaN 2\n", "2 NaN NaN 3" ] }, "execution_count": 23, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 24, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "0 1.0\n", "1 2.0\n", "2 1.5\n", "Name: A, dtype: float64" ] }, "execution_count": 24, "metadata": {}, "output_type": "execute_result" } ], "source": [ "a" ] }, { "cell_type": "code", "execution_count": 25, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1.0</td>\n", " <td>5.0</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2.0</td>\n", " <td>NaN</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1.0 5.0 1\n", "1 2.0 NaN 2\n", "2 NaN NaN 3" ] }, "execution_count": 25, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 26, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "0 1.0\n", "1 2.0\n", "2 1.5\n", "Name: A, dtype: float64" ] }, "execution_count": 26, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df['A'].fillna(value = df['A'].mean())" ] }, { "cell_type": "code", "execution_count": 27, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1.0</td>\n", " <td>5.0</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2.0</td>\n", " <td>NaN</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1.0 5.0 1\n", "1 2.0 NaN 2\n", "2 NaN NaN 3" ] }, "execution_count": 27, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 28, "metadata": {}, "outputs": [], "source": [ "df.fillna??" ] }, { "cell_type": "code", "execution_count": 29, "metadata": {}, "outputs": [], "source": [ "df['A'].fillna(value = df['A'].mean(), inplace = True)" ] }, { "cell_type": "code", "execution_count": 30, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>1.0</td>\n", " <td>5.0</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2.0</td>\n", " <td>NaN</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>1.5</td>\n", " <td>NaN</td>\n", " <td>3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C\n", "0 1.0 5.0 1\n", "1 2.0 NaN 2\n", "2 1.5 NaN 3" ] }, "execution_count": 30, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Group By" ] }, { "cell_type": "code", "execution_count": 31, "metadata": {}, "outputs": [], "source": [ "data = {\n", " 'Company':['Google', 'Google', 'MSFT', 'FB','FB','IBM'],\n", " 'Person': ['Sam','Nihad','Any','Van','Rakib','Ovi'],\n", " 'Sales': [200, 120, 340, 124, 243, 350]\n", "}" ] }, { "cell_type": "code", "execution_count": 32, "metadata": {}, "outputs": [], "source": [ "df = pd.DataFrame(data)" ] }, { "cell_type": "code", "execution_count": 33, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>Company</th>\n", " <th>Person</th>\n", " <th>Sales</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>Google</td>\n", " <td>Sam</td>\n", " <td>200</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>Google</td>\n", " <td>Nihad</td>\n", " <td>120</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>MSFT</td>\n", " <td>Any</td>\n", " <td>340</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>FB</td>\n", " <td>Van</td>\n", " <td>124</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>FB</td>\n", " <td>Rakib</td>\n", " <td>243</td>\n", " </tr>\n", " <tr>\n", " <td>5</td>\n", " <td>IBM</td>\n", " <td>Ovi</td>\n", " <td>350</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " Company Person Sales\n", "0 Google Sam 200\n", "1 Google Nihad 120\n", "2 MSFT Any 340\n", "3 FB Van 124\n", "4 FB Rakib 243\n", "5 IBM Ovi 350" ] }, "execution_count": 33, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 34, "metadata": {}, "outputs": [], "source": [ "byComp = df.groupby('Company')" ] }, { "cell_type": "code", "execution_count": 35, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>Sales</th>\n", " </tr>\n", " <tr>\n", " <th>Company</th>\n", " <th></th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>FB</td>\n", " <td>183.5</td>\n", " </tr>\n", " <tr>\n", " <td>Google</td>\n", " <td>160.0</td>\n", " </tr>\n", " <tr>\n", " <td>IBM</td>\n", " <td>350.0</td>\n", " </tr>\n", " <tr>\n", " <td>MSFT</td>\n", " <td>340.0</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " Sales\n", "Company \n", "FB 183.5\n", "Google 160.0\n", "IBM 350.0\n", "MSFT 340.0" ] }, "execution_count": 35, "metadata": {}, "output_type": "execute_result" } ], "source": [ "byComp.mean()" ] }, { "cell_type": "code", "execution_count": 36, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>Sales</th>\n", " </tr>\n", " <tr>\n", " <th>Company</th>\n", " <th></th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>FB</td>\n", " <td>367</td>\n", " </tr>\n", " <tr>\n", " <td>Google</td>\n", " <td>320</td>\n", " </tr>\n", " <tr>\n", " <td>IBM</td>\n", " <td>350</td>\n", " </tr>\n", " <tr>\n", " <td>MSFT</td>\n", " <td>340</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " Sales\n", "Company \n", "FB 367\n", "Google 320\n", "IBM 350\n", "MSFT 340" ] }, "execution_count": 36, "metadata": {}, "output_type": "execute_result" } ], "source": [ "byComp.sum()" ] }, { "cell_type": "code", "execution_count": 37, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>Company</th>\n", " <th>Person</th>\n", " <th>Sales</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>Google</td>\n", " <td>Sam</td>\n", " <td>200</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>Google</td>\n", " <td>Nihad</td>\n", " <td>120</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>MSFT</td>\n", " <td>Any</td>\n", " <td>340</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>FB</td>\n", " <td>Van</td>\n", " <td>124</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>FB</td>\n", " <td>Rakib</td>\n", " <td>243</td>\n", " </tr>\n", " <tr>\n", " <td>5</td>\n", " <td>IBM</td>\n", " <td>Ovi</td>\n", " <td>350</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " Company Person Sales\n", "0 Google Sam 200\n", "1 Google Nihad 120\n", "2 MSFT Any 340\n", "3 FB Van 124\n", "4 FB Rakib 243\n", "5 IBM Ovi 350" ] }, "execution_count": 37, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 38, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>Sales</th>\n", " </tr>\n", " <tr>\n", " <th>Company</th>\n", " <th></th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>FB</td>\n", " <td>84.145707</td>\n", " </tr>\n", " <tr>\n", " <td>Google</td>\n", " <td>56.568542</td>\n", " </tr>\n", " <tr>\n", " <td>IBM</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>MSFT</td>\n", " <td>NaN</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " Sales\n", "Company \n", "FB 84.145707\n", "Google 56.568542\n", "IBM NaN\n", "MSFT NaN" ] }, "execution_count": 38, "metadata": {}, "output_type": "execute_result" } ], "source": [ "byComp.std()" ] }, { "cell_type": "code", "execution_count": 39, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>Person</th>\n", " <th>Sales</th>\n", " </tr>\n", " <tr>\n", " <th>Company</th>\n", " <th></th>\n", " <th></th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>FB</td>\n", " <td>2</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>Google</td>\n", " <td>2</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>IBM</td>\n", " <td>1</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>MSFT</td>\n", " <td>1</td>\n", " <td>1</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " Person Sales\n", "Company \n", "FB 2 2\n", "Google 2 2\n", "IBM 1 1\n", "MSFT 1 1" ] }, "execution_count": 39, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.groupby('Company').count()" ] }, { "cell_type": "code", "execution_count": 40, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>Company</th>\n", " <th>Person</th>\n", " <th>Sales</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>Google</td>\n", " <td>Sam</td>\n", " <td>200</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>Google</td>\n", " <td>Nihad</td>\n", " <td>120</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>MSFT</td>\n", " <td>Any</td>\n", " <td>340</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>FB</td>\n", " <td>Van</td>\n", " <td>124</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>FB</td>\n", " <td>Rakib</td>\n", " <td>243</td>\n", " </tr>\n", " <tr>\n", " <td>5</td>\n", " <td>IBM</td>\n", " <td>Ovi</td>\n", " <td>350</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " Company Person Sales\n", "0 Google Sam 200\n", "1 Google Nihad 120\n", "2 MSFT Any 340\n", "3 FB Van 124\n", "4 FB Rakib 243\n", "5 IBM Ovi 350" ] }, "execution_count": 40, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 41, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead tr th {\n", " text-align: left;\n", " }\n", "\n", " .dataframe thead tr:last-of-type th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr>\n", " <th></th>\n", " <th colspan=\"8\" halign=\"left\">Sales</th>\n", " </tr>\n", " <tr>\n", " <th></th>\n", " <th>count</th>\n", " <th>mean</th>\n", " <th>std</th>\n", " <th>min</th>\n", " <th>25%</th>\n", " <th>50%</th>\n", " <th>75%</th>\n", " <th>max</th>\n", " </tr>\n", " <tr>\n", " <th>Company</th>\n", " <th></th>\n", " <th></th>\n", " <th></th>\n", " <th></th>\n", " <th></th>\n", " <th></th>\n", " <th></th>\n", " <th></th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>FB</td>\n", " <td>2.0</td>\n", " <td>183.5</td>\n", " <td>84.145707</td>\n", " <td>124.0</td>\n", " <td>153.75</td>\n", " <td>183.5</td>\n", " <td>213.25</td>\n", " <td>243.0</td>\n", " </tr>\n", " <tr>\n", " <td>Google</td>\n", " <td>2.0</td>\n", " <td>160.0</td>\n", " <td>56.568542</td>\n", " <td>120.0</td>\n", " <td>140.00</td>\n", " <td>160.0</td>\n", " <td>180.00</td>\n", " <td>200.0</td>\n", " </tr>\n", " <tr>\n", " <td>IBM</td>\n", " <td>1.0</td>\n", " <td>350.0</td>\n", " <td>NaN</td>\n", " <td>350.0</td>\n", " <td>350.00</td>\n", " <td>350.0</td>\n", " <td>350.00</td>\n", " <td>350.0</td>\n", " </tr>\n", " <tr>\n", " <td>MSFT</td>\n", " <td>1.0</td>\n", " <td>340.0</td>\n", " <td>NaN</td>\n", " <td>340.0</td>\n", " <td>340.00</td>\n", " <td>340.0</td>\n", " <td>340.00</td>\n", " <td>340.0</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " Sales \n", " count mean std min 25% 50% 75% max\n", "Company \n", "FB 2.0 183.5 84.145707 124.0 153.75 183.5 213.25 243.0\n", "Google 2.0 160.0 56.568542 120.0 140.00 160.0 180.00 200.0\n", "IBM 1.0 350.0 NaN 350.0 350.00 350.0 350.00 350.0\n", "MSFT 1.0 340.0 NaN 340.0 340.00 340.0 340.00 340.0" ] }, "execution_count": 41, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.groupby('Company').describe()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Merging, Joining and Concatenating" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Concatenating" ] }, { "cell_type": "code", "execution_count": 42, "metadata": {}, "outputs": [], "source": [ "df1 = pd.DataFrame(np.random.randint(1, 20, size = (4, 3)), [1,2,3,4], ['W', 'X', 'Y'])" ] }, { "cell_type": "code", "execution_count": 51, "metadata": {}, "outputs": [], "source": [ "df2 = pd.DataFrame(np.random.randint(20,40, size = (4, 3)), [5,6,7,8], ['W', 'X', 'Y'])" ] }, { "cell_type": "code", "execution_count": 52, "metadata": {}, "outputs": [], "source": [ "df3 = pd.DataFrame(np.random.randint(40,60, size = (4, 3)), [9,10,11,12], ['W', 'X', 'Y'])" ] }, { "cell_type": "code", "execution_count": 53, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>W</th>\n", " <th>X</th>\n", " <th>Y</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>1</td>\n", " <td>9</td>\n", " <td>10</td>\n", " <td>19</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>14</td>\n", " <td>15</td>\n", " <td>8</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>6</td>\n", " <td>13</td>\n", " <td>6</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>4</td>\n", " <td>11</td>\n", " <td>14</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " W X Y\n", "1 9 10 19\n", "2 14 15 8\n", "3 6 13 6\n", "4 4 11 14" ] }, "execution_count": 53, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df1" ] }, { "cell_type": "code", "execution_count": 54, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>W</th>\n", " <th>X</th>\n", " <th>Y</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>5</td>\n", " <td>32</td>\n", " <td>26</td>\n", " <td>24</td>\n", " </tr>\n", " <tr>\n", " <td>6</td>\n", " <td>25</td>\n", " <td>35</td>\n", " <td>20</td>\n", " </tr>\n", " <tr>\n", " <td>7</td>\n", " <td>29</td>\n", " <td>36</td>\n", " <td>25</td>\n", " </tr>\n", " <tr>\n", " <td>8</td>\n", " <td>23</td>\n", " <td>27</td>\n", " <td>29</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " W X Y\n", "5 32 26 24\n", "6 25 35 20\n", "7 29 36 25\n", "8 23 27 29" ] }, "execution_count": 54, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df2" ] }, { "cell_type": "code", "execution_count": 55, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>W</th>\n", " <th>X</th>\n", " <th>Y</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>9</td>\n", " <td>52</td>\n", " <td>50</td>\n", " <td>47</td>\n", " </tr>\n", " <tr>\n", " <td>10</td>\n", " <td>54</td>\n", " <td>53</td>\n", " <td>40</td>\n", " </tr>\n", " <tr>\n", " <td>11</td>\n", " <td>57</td>\n", " <td>53</td>\n", " <td>51</td>\n", " </tr>\n", " <tr>\n", " <td>12</td>\n", " <td>43</td>\n", " <td>58</td>\n", " <td>47</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " W X Y\n", "9 52 50 47\n", "10 54 53 40\n", "11 57 53 51\n", "12 43 58 47" ] }, "execution_count": 55, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df3" ] }, { "cell_type": "code", "execution_count": 56, "metadata": {}, "outputs": [], "source": [ "farme = [df1, df2, df3]" ] }, { "cell_type": "code", "execution_count": 57, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>W</th>\n", " <th>X</th>\n", " <th>Y</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>1</td>\n", " <td>9</td>\n", " <td>10</td>\n", " <td>19</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>14</td>\n", " <td>15</td>\n", " <td>8</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>6</td>\n", " <td>13</td>\n", " <td>6</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>4</td>\n", " <td>11</td>\n", " <td>14</td>\n", " </tr>\n", " <tr>\n", " <td>5</td>\n", " <td>32</td>\n", " <td>26</td>\n", " <td>24</td>\n", " </tr>\n", " <tr>\n", " <td>6</td>\n", " <td>25</td>\n", " <td>35</td>\n", " <td>20</td>\n", " </tr>\n", " <tr>\n", " <td>7</td>\n", " <td>29</td>\n", " <td>36</td>\n", " <td>25</td>\n", " </tr>\n", " <tr>\n", " <td>8</td>\n", " <td>23</td>\n", " <td>27</td>\n", " <td>29</td>\n", " </tr>\n", " <tr>\n", " <td>9</td>\n", " <td>52</td>\n", " <td>50</td>\n", " <td>47</td>\n", " </tr>\n", " <tr>\n", " <td>10</td>\n", " <td>54</td>\n", " <td>53</td>\n", " <td>40</td>\n", " </tr>\n", " <tr>\n", " <td>11</td>\n", " <td>57</td>\n", " <td>53</td>\n", " <td>51</td>\n", " </tr>\n", " <tr>\n", " <td>12</td>\n", " <td>43</td>\n", " <td>58</td>\n", " <td>47</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " W X Y\n", "1 9 10 19\n", "2 14 15 8\n", "3 6 13 6\n", "4 4 11 14\n", "5 32 26 24\n", "6 25 35 20\n", "7 29 36 25\n", "8 23 27 29\n", "9 52 50 47\n", "10 54 53 40\n", "11 57 53 51\n", "12 43 58 47" ] }, "execution_count": 57, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pd.concat(farme)" ] }, { "cell_type": "code", "execution_count": 58, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>W</th>\n", " <th>X</th>\n", " <th>Y</th>\n", " <th>W</th>\n", " <th>X</th>\n", " <th>Y</th>\n", " <th>W</th>\n", " <th>X</th>\n", " <th>Y</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>1</td>\n", " <td>9.0</td>\n", " <td>10.0</td>\n", " <td>19.0</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>14.0</td>\n", " <td>15.0</td>\n", " <td>8.0</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>6.0</td>\n", " <td>13.0</td>\n", " <td>6.0</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>4.0</td>\n", " <td>11.0</td>\n", " <td>14.0</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>5</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>32.0</td>\n", " <td>26.0</td>\n", " <td>24.0</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>6</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>25.0</td>\n", " <td>35.0</td>\n", " <td>20.0</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>7</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>29.0</td>\n", " <td>36.0</td>\n", " <td>25.0</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>8</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>23.0</td>\n", " <td>27.0</td>\n", " <td>29.0</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " </tr>\n", " <tr>\n", " <td>9</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>52.0</td>\n", " <td>50.0</td>\n", " <td>47.0</td>\n", " </tr>\n", " <tr>\n", " <td>10</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>54.0</td>\n", " <td>53.0</td>\n", " <td>40.0</td>\n", " </tr>\n", " <tr>\n", " <td>11</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>57.0</td>\n", " <td>53.0</td>\n", " <td>51.0</td>\n", " </tr>\n", " <tr>\n", " <td>12</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>NaN</td>\n", " <td>43.0</td>\n", " <td>58.0</td>\n", " <td>47.0</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " W X Y W X Y W X Y\n", "1 9.0 10.0 19.0 NaN NaN NaN NaN NaN NaN\n", "2 14.0 15.0 8.0 NaN NaN NaN NaN NaN NaN\n", "3 6.0 13.0 6.0 NaN NaN NaN NaN NaN NaN\n", "4 4.0 11.0 14.0 NaN NaN NaN NaN NaN NaN\n", "5 NaN NaN NaN 32.0 26.0 24.0 NaN NaN NaN\n", "6 NaN NaN NaN 25.0 35.0 20.0 NaN NaN NaN\n", "7 NaN NaN NaN 29.0 36.0 25.0 NaN NaN NaN\n", "8 NaN NaN NaN 23.0 27.0 29.0 NaN NaN NaN\n", "9 NaN NaN NaN NaN NaN NaN 52.0 50.0 47.0\n", "10 NaN NaN NaN NaN NaN NaN 54.0 53.0 40.0\n", "11 NaN NaN NaN NaN NaN NaN 57.0 53.0 51.0\n", "12 NaN NaN NaN NaN NaN NaN 43.0 58.0 47.0" ] }, "execution_count": 58, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pd.concat(farme, axis = 1)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Merging" ] }, { "cell_type": "code", "execution_count": 59, "metadata": {}, "outputs": [], "source": [ "left = {\n", " 'key':['k0','k1','k2','k3'],\n", " 'A':[10,20,30,40],\n", " 'B':[1,2,3,4]\n", "}" ] }, { "cell_type": "code", "execution_count": 60, "metadata": {}, "outputs": [], "source": [ "right = {\n", " 'key':['k0','k1','k2','k3'],\n", " 'C':[100,200,300,400],\n", " 'D':[11,12,13,14]\n", "}" ] }, { "cell_type": "code", "execution_count": 61, "metadata": {}, "outputs": [], "source": [ "left = pd.DataFrame(left)" ] }, { "cell_type": "code", "execution_count": 62, "metadata": {}, "outputs": [], "source": [ "right = pd.DataFrame(right)" ] }, { "cell_type": "code", "execution_count": 63, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>key</th>\n", " <th>A</th>\n", " <th>B</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>k0</td>\n", " <td>10</td>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>k1</td>\n", " <td>20</td>\n", " <td>2</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>k2</td>\n", " <td>30</td>\n", " <td>3</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>k3</td>\n", " <td>40</td>\n", " <td>4</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " key A B\n", "0 k0 10 1\n", "1 k1 20 2\n", "2 k2 30 3\n", "3 k3 40 4" ] }, "execution_count": 63, "metadata": {}, "output_type": "execute_result" } ], "source": [ "left" ] }, { "cell_type": "code", "execution_count": 64, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>key</th>\n", " <th>C</th>\n", " <th>D</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>k0</td>\n", " <td>100</td>\n", " <td>11</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>k1</td>\n", " <td>200</td>\n", " <td>12</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>k2</td>\n", " <td>300</td>\n", " <td>13</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>k3</td>\n", " <td>400</td>\n", " <td>14</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " key C D\n", "0 k0 100 11\n", "1 k1 200 12\n", "2 k2 300 13\n", "3 k3 400 14" ] }, "execution_count": 64, "metadata": {}, "output_type": "execute_result" } ], "source": [ "right" ] }, { "cell_type": "code", "execution_count": 65, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>key</th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " <th>D</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>k0</td>\n", " <td>10</td>\n", " <td>1</td>\n", " <td>100</td>\n", " <td>11</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>k1</td>\n", " <td>20</td>\n", " <td>2</td>\n", " <td>200</td>\n", " <td>12</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>k2</td>\n", " <td>30</td>\n", " <td>3</td>\n", " <td>300</td>\n", " <td>13</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>k3</td>\n", " <td>40</td>\n", " <td>4</td>\n", " <td>400</td>\n", " <td>14</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " key A B C D\n", "0 k0 10 1 100 11\n", "1 k1 20 2 200 12\n", "2 k2 30 3 300 13\n", "3 k3 40 4 400 14" ] }, "execution_count": 65, "metadata": {}, "output_type": "execute_result" } ], "source": [ "pd.merge(left, right, on='key')" ] }, { "cell_type": "code", "execution_count": 66, "metadata": {}, "outputs": [], "source": [ "pd.merge??" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Joining" ] }, { "cell_type": "code", "execution_count": 67, "metadata": {}, "outputs": [], "source": [ "left = {\n", " 'A':['A0','A1','A2'],\n", " 'B':['B0','B1','B2']\n", "}" ] }, { "cell_type": "code", "execution_count": 68, "metadata": {}, "outputs": [], "source": [ "right = {\n", " 'C':['C0','C2','C3'],\n", " 'D':['D0','D2','D3']\n", "}" ] }, { "cell_type": "code", "execution_count": 69, "metadata": {}, "outputs": [], "source": [ "left = pd.DataFrame(left, index = ['k0','k1','k2'])" ] }, { "cell_type": "code", "execution_count": 70, "metadata": {}, "outputs": [], "source": [ "right = pd.DataFrame(right, index = ['k0','k2','k3'])" ] }, { "cell_type": "code", "execution_count": 71, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>k0</td>\n", " <td>A0</td>\n", " <td>B0</td>\n", " </tr>\n", " <tr>\n", " <td>k1</td>\n", " <td>A1</td>\n", " <td>B1</td>\n", " </tr>\n", " <tr>\n", " <td>k2</td>\n", " <td>A2</td>\n", " <td>B2</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B\n", "k0 A0 B0\n", "k1 A1 B1\n", "k2 A2 B2" ] }, "execution_count": 71, "metadata": {}, "output_type": "execute_result" } ], "source": [ "left" ] }, { "cell_type": "code", "execution_count": 72, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>C</th>\n", " <th>D</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>k0</td>\n", " <td>C0</td>\n", " <td>D0</td>\n", " </tr>\n", " <tr>\n", " <td>k2</td>\n", " <td>C2</td>\n", " <td>D2</td>\n", " </tr>\n", " <tr>\n", " <td>k3</td>\n", " <td>C3</td>\n", " <td>D3</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " C D\n", "k0 C0 D0\n", "k2 C2 D2\n", "k3 C3 D3" ] }, "execution_count": 72, "metadata": {}, "output_type": "execute_result" } ], "source": [ "right" ] }, { "cell_type": "code", "execution_count": 76, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>A</th>\n", " <th>B</th>\n", " <th>C</th>\n", " <th>D</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>k0</td>\n", " <td>A0</td>\n", " <td>B0</td>\n", " <td>C0</td>\n", " <td>D0</td>\n", " </tr>\n", " <tr>\n", " <td>k2</td>\n", " <td>A2</td>\n", " <td>B2</td>\n", " <td>C2</td>\n", " <td>D2</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " A B C D\n", "k0 A0 B0 C0 D0\n", "k2 A2 B2 C2 D2" ] }, "execution_count": 76, "metadata": {}, "output_type": "execute_result" } ], "source": [ "left.join(right, how = 'inner')" ] }, { "cell_type": "code", "execution_count": 74, "metadata": {}, "outputs": [], "source": [ "left.join??" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Operations" ] }, { "cell_type": "code", "execution_count": 77, "metadata": {}, "outputs": [], "source": [ "df = pd.DataFrame({\n", " 'col1':[444,555,666,444],\n", " 'col2':[1,2,3,4],\n", " 'col3':['abc','def','ghi','xyz']\n", "})" ] }, { "cell_type": "code", "execution_count": 78, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>col1</th>\n", " <th>col2</th>\n", " <th>col3</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>444</td>\n", " <td>1</td>\n", " <td>abc</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>555</td>\n", " <td>2</td>\n", " <td>def</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>666</td>\n", " <td>3</td>\n", " <td>ghi</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>444</td>\n", " <td>4</td>\n", " <td>xyz</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " col1 col2 col3\n", "0 444 1 abc\n", "1 555 2 def\n", "2 666 3 ghi\n", "3 444 4 xyz" ] }, "execution_count": 78, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 79, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "array([444, 555, 666], dtype=int64)" ] }, "execution_count": 79, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df['col1'].unique()" ] }, { "cell_type": "code", "execution_count": 80, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "3" ] }, "execution_count": 80, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df['col1'].nunique()" ] }, { "cell_type": "code", "execution_count": 82, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "444 2\n", "555 1\n", "666 1\n", "Name: col1, dtype: int64" ] }, "execution_count": 82, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df['col1'].value_counts()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Apply Method" ] }, { "cell_type": "code", "execution_count": 84, "metadata": {}, "outputs": [], "source": [ "def times2(x):\n", " return 2*x" ] }, { "cell_type": "code", "execution_count": 85, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "0 2\n", "1 4\n", "2 6\n", "3 8\n", "Name: col2, dtype: int64" ] }, "execution_count": 85, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df['col2'].apply(times2)" ] }, { "cell_type": "code", "execution_count": 87, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "0 1\n", "1 4\n", "2 9\n", "3 16\n", "Name: col2, dtype: int64" ] }, "execution_count": 87, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df['col2'].apply(lambda x: x**2)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Reading File" ] }, { "cell_type": "code", "execution_count": 88, "metadata": {}, "outputs": [], "source": [ "df = pd.read_excel('SampleData.xlsx', sheet_name = 'SalesOrders')" ] }, { "cell_type": "code", "execution_count": 89, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>OrderDate</th>\n", " <th>Region</th>\n", " <th>Rep</th>\n", " <th>Item</th>\n", " <th>Units</th>\n", " <th>Unit Cost</th>\n", " <th>Total</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>2019-01-06</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pencil</td>\n", " <td>95</td>\n", " <td>1.99</td>\n", " <td>189.05</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2019-01-23</td>\n", " <td>Central</td>\n", " <td>Kivell</td>\n", " <td>Binder</td>\n", " <td>50</td>\n", " <td>19.99</td>\n", " <td>999.50</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>2019-02-09</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Pencil</td>\n", " <td>36</td>\n", " <td>4.99</td>\n", " <td>179.64</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>2019-02-26</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Pen</td>\n", " <td>27</td>\n", " <td>19.99</td>\n", " <td>539.73</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>2019-03-15</td>\n", " <td>West</td>\n", " <td>Sorvino</td>\n", " <td>Pencil</td>\n", " <td>56</td>\n", " <td>2.99</td>\n", " <td>167.44</td>\n", " </tr>\n", " <tr>\n", " <td>5</td>\n", " <td>2019-04-01</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Binder</td>\n", " <td>60</td>\n", " <td>4.99</td>\n", " <td>299.40</td>\n", " </tr>\n", " <tr>\n", " <td>6</td>\n", " <td>2019-04-18</td>\n", " <td>Central</td>\n", " <td>Andrews</td>\n", " <td>Pencil</td>\n", " <td>75</td>\n", " <td>1.99</td>\n", " <td>149.25</td>\n", " </tr>\n", " <tr>\n", " <td>7</td>\n", " <td>2019-05-05</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Pencil</td>\n", " <td>90</td>\n", " <td>4.99</td>\n", " <td>449.10</td>\n", " </tr>\n", " <tr>\n", " <td>8</td>\n", " <td>2019-05-22</td>\n", " <td>West</td>\n", " <td>Thompson</td>\n", " <td>Pencil</td>\n", " <td>32</td>\n", " <td>1.99</td>\n", " <td>63.68</td>\n", " </tr>\n", " <tr>\n", " <td>9</td>\n", " <td>2019-06-08</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Binder</td>\n", " <td>60</td>\n", " <td>8.99</td>\n", " <td>539.40</td>\n", " </tr>\n", " <tr>\n", " <td>10</td>\n", " <td>2019-06-25</td>\n", " <td>Central</td>\n", " <td>Morgan</td>\n", " <td>Pencil</td>\n", " <td>90</td>\n", " <td>4.99</td>\n", " <td>449.10</td>\n", " </tr>\n", " <tr>\n", " <td>11</td>\n", " <td>2019-07-12</td>\n", " <td>East</td>\n", " <td>Howard</td>\n", " <td>Binder</td>\n", " <td>29</td>\n", " <td>1.99</td>\n", " <td>57.71</td>\n", " </tr>\n", " <tr>\n", " <td>12</td>\n", " <td>2019-07-29</td>\n", " <td>East</td>\n", " <td>Parent</td>\n", " <td>Binder</td>\n", " <td>81</td>\n", " <td>19.99</td>\n", " <td>1619.19</td>\n", " </tr>\n", " <tr>\n", " <td>13</td>\n", " <td>2019-08-15</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pencil</td>\n", " <td>35</td>\n", " <td>4.99</td>\n", " <td>174.65</td>\n", " </tr>\n", " <tr>\n", " <td>14</td>\n", " <td>2019-09-01</td>\n", " <td>Central</td>\n", " <td>Smith</td>\n", " <td>Desk</td>\n", " <td>2</td>\n", " <td>125.00</td>\n", " <td>250.00</td>\n", " </tr>\n", " <tr>\n", " <td>15</td>\n", " <td>2019-09-18</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pen Set</td>\n", " <td>16</td>\n", " <td>15.99</td>\n", " <td>255.84</td>\n", " </tr>\n", " <tr>\n", " <td>16</td>\n", " <td>2019-10-05</td>\n", " <td>Central</td>\n", " <td>Morgan</td>\n", " <td>Binder</td>\n", " <td>28</td>\n", " <td>8.99</td>\n", " <td>251.72</td>\n", " </tr>\n", " <tr>\n", " <td>17</td>\n", " <td>2019-10-22</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pen</td>\n", " <td>64</td>\n", " <td>8.99</td>\n", " <td>575.36</td>\n", " </tr>\n", " <tr>\n", " <td>18</td>\n", " <td>2019-11-08</td>\n", " <td>East</td>\n", " <td>Parent</td>\n", " <td>Pen</td>\n", " <td>15</td>\n", " <td>19.99</td>\n", " <td>299.85</td>\n", " </tr>\n", " <tr>\n", " <td>19</td>\n", " <td>2019-11-25</td>\n", " <td>Central</td>\n", " <td>Kivell</td>\n", " <td>Pen Set</td>\n", " <td>96</td>\n", " <td>4.99</td>\n", " <td>479.04</td>\n", " </tr>\n", " <tr>\n", " <td>20</td>\n", " <td>2019-12-12</td>\n", " <td>Central</td>\n", " <td>Smith</td>\n", " <td>Pencil</td>\n", " <td>67</td>\n", " <td>1.29</td>\n", " <td>86.43</td>\n", " </tr>\n", " <tr>\n", " <td>21</td>\n", " <td>2019-12-29</td>\n", " <td>East</td>\n", " <td>Parent</td>\n", " <td>Pen Set</td>\n", " <td>74</td>\n", " <td>15.99</td>\n", " <td>1183.26</td>\n", " </tr>\n", " <tr>\n", " <td>22</td>\n", " <td>2020-01-15</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Binder</td>\n", " <td>46</td>\n", " <td>8.99</td>\n", " <td>413.54</td>\n", " </tr>\n", " <tr>\n", " <td>23</td>\n", " <td>2020-02-01</td>\n", " <td>Central</td>\n", " <td>Smith</td>\n", " <td>Binder</td>\n", " <td>87</td>\n", " <td>15.00</td>\n", " <td>1305.00</td>\n", " </tr>\n", " <tr>\n", " <td>24</td>\n", " <td>2020-02-18</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Binder</td>\n", " <td>4</td>\n", " <td>4.99</td>\n", " <td>19.96</td>\n", " </tr>\n", " <tr>\n", " <td>25</td>\n", " <td>2020-03-07</td>\n", " <td>West</td>\n", " <td>Sorvino</td>\n", " <td>Binder</td>\n", " <td>7</td>\n", " <td>19.99</td>\n", " <td>139.93</td>\n", " </tr>\n", " <tr>\n", " <td>26</td>\n", " <td>2020-03-24</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Pen Set</td>\n", " <td>50</td>\n", " <td>4.99</td>\n", " <td>249.50</td>\n", " </tr>\n", " <tr>\n", " <td>27</td>\n", " <td>2020-04-10</td>\n", " <td>Central</td>\n", " <td>Andrews</td>\n", " <td>Pencil</td>\n", " <td>66</td>\n", " <td>1.99</td>\n", " <td>131.34</td>\n", " </tr>\n", " <tr>\n", " <td>28</td>\n", " <td>2020-04-27</td>\n", " <td>East</td>\n", " <td>Howard</td>\n", " <td>Pen</td>\n", " <td>96</td>\n", " <td>4.99</td>\n", " <td>479.04</td>\n", " </tr>\n", " <tr>\n", " <td>29</td>\n", " <td>2020-05-14</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Pencil</td>\n", " <td>53</td>\n", " <td>1.29</td>\n", " <td>68.37</td>\n", " </tr>\n", " <tr>\n", " <td>30</td>\n", " <td>2020-05-31</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Binder</td>\n", " <td>80</td>\n", " <td>8.99</td>\n", " <td>719.20</td>\n", " </tr>\n", " <tr>\n", " <td>31</td>\n", " <td>2020-06-17</td>\n", " <td>Central</td>\n", " <td>Kivell</td>\n", " <td>Desk</td>\n", " <td>5</td>\n", " <td>125.00</td>\n", " <td>625.00</td>\n", " </tr>\n", " <tr>\n", " <td>32</td>\n", " <td>2020-07-04</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pen Set</td>\n", " <td>62</td>\n", " <td>4.99</td>\n", " <td>309.38</td>\n", " </tr>\n", " <tr>\n", " <td>33</td>\n", " <td>2020-07-21</td>\n", " <td>Central</td>\n", " <td>Morgan</td>\n", " <td>Pen Set</td>\n", " <td>55</td>\n", " <td>12.49</td>\n", " <td>686.95</td>\n", " </tr>\n", " <tr>\n", " <td>34</td>\n", " <td>2020-08-07</td>\n", " <td>Central</td>\n", " <td>Kivell</td>\n", " <td>Pen Set</td>\n", " <td>42</td>\n", " <td>23.95</td>\n", " <td>1005.90</td>\n", " </tr>\n", " <tr>\n", " <td>35</td>\n", " <td>2020-08-24</td>\n", " <td>West</td>\n", " <td>Sorvino</td>\n", " <td>Desk</td>\n", " <td>3</td>\n", " <td>275.00</td>\n", " <td>825.00</td>\n", " </tr>\n", " <tr>\n", " <td>36</td>\n", " <td>2020-09-10</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Pencil</td>\n", " <td>7</td>\n", " <td>1.29</td>\n", " <td>9.03</td>\n", " </tr>\n", " <tr>\n", " <td>37</td>\n", " <td>2020-09-27</td>\n", " <td>West</td>\n", " <td>Sorvino</td>\n", " <td>Pen</td>\n", " <td>76</td>\n", " <td>1.99</td>\n", " <td>151.24</td>\n", " </tr>\n", " <tr>\n", " <td>38</td>\n", " <td>2020-10-14</td>\n", " <td>West</td>\n", " <td>Thompson</td>\n", " <td>Binder</td>\n", " <td>57</td>\n", " <td>19.99</td>\n", " <td>1139.43</td>\n", " </tr>\n", " <tr>\n", " <td>39</td>\n", " <td>2020-10-31</td>\n", " <td>Central</td>\n", " <td>Andrews</td>\n", " <td>Pencil</td>\n", " <td>14</td>\n", " <td>1.29</td>\n", " <td>18.06</td>\n", " </tr>\n", " <tr>\n", " <td>40</td>\n", " <td>2020-11-17</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Binder</td>\n", " <td>11</td>\n", " <td>4.99</td>\n", " <td>54.89</td>\n", " </tr>\n", " <tr>\n", " <td>41</td>\n", " <td>2020-12-04</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Binder</td>\n", " <td>94</td>\n", " <td>19.99</td>\n", " <td>1879.06</td>\n", " </tr>\n", " <tr>\n", " <td>42</td>\n", " <td>2020-12-21</td>\n", " <td>Central</td>\n", " <td>Andrews</td>\n", " <td>Binder</td>\n", " <td>28</td>\n", " <td>4.99</td>\n", " <td>139.72</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " OrderDate Region Rep Item Units Unit Cost Total\n", "0 2019-01-06 East Jones Pencil 95 1.99 189.05\n", "1 2019-01-23 Central Kivell Binder 50 19.99 999.50\n", "2 2019-02-09 Central Jardine Pencil 36 4.99 179.64\n", "3 2019-02-26 Central Gill Pen 27 19.99 539.73\n", "4 2019-03-15 West Sorvino Pencil 56 2.99 167.44\n", "5 2019-04-01 East Jones Binder 60 4.99 299.40\n", "6 2019-04-18 Central Andrews Pencil 75 1.99 149.25\n", "7 2019-05-05 Central Jardine Pencil 90 4.99 449.10\n", "8 2019-05-22 West Thompson Pencil 32 1.99 63.68\n", "9 2019-06-08 East Jones Binder 60 8.99 539.40\n", "10 2019-06-25 Central Morgan Pencil 90 4.99 449.10\n", "11 2019-07-12 East Howard Binder 29 1.99 57.71\n", "12 2019-07-29 East Parent Binder 81 19.99 1619.19\n", "13 2019-08-15 East Jones Pencil 35 4.99 174.65\n", "14 2019-09-01 Central Smith Desk 2 125.00 250.00\n", "15 2019-09-18 East Jones Pen Set 16 15.99 255.84\n", "16 2019-10-05 Central Morgan Binder 28 8.99 251.72\n", "17 2019-10-22 East Jones Pen 64 8.99 575.36\n", "18 2019-11-08 East Parent Pen 15 19.99 299.85\n", "19 2019-11-25 Central Kivell Pen Set 96 4.99 479.04\n", "20 2019-12-12 Central Smith Pencil 67 1.29 86.43\n", "21 2019-12-29 East Parent Pen Set 74 15.99 1183.26\n", "22 2020-01-15 Central Gill Binder 46 8.99 413.54\n", "23 2020-02-01 Central Smith Binder 87 15.00 1305.00\n", "24 2020-02-18 East Jones Binder 4 4.99 19.96\n", "25 2020-03-07 West Sorvino Binder 7 19.99 139.93\n", "26 2020-03-24 Central Jardine Pen Set 50 4.99 249.50\n", "27 2020-04-10 Central Andrews Pencil 66 1.99 131.34\n", "28 2020-04-27 East Howard Pen 96 4.99 479.04\n", "29 2020-05-14 Central Gill Pencil 53 1.29 68.37\n", "30 2020-05-31 Central Gill Binder 80 8.99 719.20\n", "31 2020-06-17 Central Kivell Desk 5 125.00 625.00\n", "32 2020-07-04 East Jones Pen Set 62 4.99 309.38\n", "33 2020-07-21 Central Morgan Pen Set 55 12.49 686.95\n", "34 2020-08-07 Central Kivell Pen Set 42 23.95 1005.90\n", "35 2020-08-24 West Sorvino Desk 3 275.00 825.00\n", "36 2020-09-10 Central Gill Pencil 7 1.29 9.03\n", "37 2020-09-27 West Sorvino Pen 76 1.99 151.24\n", "38 2020-10-14 West Thompson Binder 57 19.99 1139.43\n", "39 2020-10-31 Central Andrews Pencil 14 1.29 18.06\n", "40 2020-11-17 Central Jardine Binder 11 4.99 54.89\n", "41 2020-12-04 Central Jardine Binder 94 19.99 1879.06\n", "42 2020-12-21 Central Andrews Binder 28 4.99 139.72" ] }, "execution_count": 89, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df" ] }, { "cell_type": "code", "execution_count": 91, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>OrderDate</th>\n", " <th>Region</th>\n", " <th>Rep</th>\n", " <th>Item</th>\n", " <th>Units</th>\n", " <th>Unit Cost</th>\n", " <th>Total</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>2019-01-06</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pencil</td>\n", " <td>95</td>\n", " <td>1.99</td>\n", " <td>189.05</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2019-01-23</td>\n", " <td>Central</td>\n", " <td>Kivell</td>\n", " <td>Binder</td>\n", " <td>50</td>\n", " <td>19.99</td>\n", " <td>999.50</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>2019-02-09</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Pencil</td>\n", " <td>36</td>\n", " <td>4.99</td>\n", " <td>179.64</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>2019-02-26</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Pen</td>\n", " <td>27</td>\n", " <td>19.99</td>\n", " <td>539.73</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>2019-03-15</td>\n", " <td>West</td>\n", " <td>Sorvino</td>\n", " <td>Pencil</td>\n", " <td>56</td>\n", " <td>2.99</td>\n", " <td>167.44</td>\n", " </tr>\n", " <tr>\n", " <td>5</td>\n", " <td>2019-04-01</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Binder</td>\n", " <td>60</td>\n", " <td>4.99</td>\n", " <td>299.40</td>\n", " </tr>\n", " <tr>\n", " <td>6</td>\n", " <td>2019-04-18</td>\n", " <td>Central</td>\n", " <td>Andrews</td>\n", " <td>Pencil</td>\n", " <td>75</td>\n", " <td>1.99</td>\n", " <td>149.25</td>\n", " </tr>\n", " <tr>\n", " <td>7</td>\n", " <td>2019-05-05</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Pencil</td>\n", " <td>90</td>\n", " <td>4.99</td>\n", " <td>449.10</td>\n", " </tr>\n", " <tr>\n", " <td>8</td>\n", " <td>2019-05-22</td>\n", " <td>West</td>\n", " <td>Thompson</td>\n", " <td>Pencil</td>\n", " <td>32</td>\n", " <td>1.99</td>\n", " <td>63.68</td>\n", " </tr>\n", " <tr>\n", " <td>9</td>\n", " <td>2019-06-08</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Binder</td>\n", " <td>60</td>\n", " <td>8.99</td>\n", " <td>539.40</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " OrderDate Region Rep Item Units Unit Cost Total\n", "0 2019-01-06 East Jones Pencil 95 1.99 189.05\n", "1 2019-01-23 Central Kivell Binder 50 19.99 999.50\n", "2 2019-02-09 Central Jardine Pencil 36 4.99 179.64\n", "3 2019-02-26 Central Gill Pen 27 19.99 539.73\n", "4 2019-03-15 West Sorvino Pencil 56 2.99 167.44\n", "5 2019-04-01 East Jones Binder 60 4.99 299.40\n", "6 2019-04-18 Central Andrews Pencil 75 1.99 149.25\n", "7 2019-05-05 Central Jardine Pencil 90 4.99 449.10\n", "8 2019-05-22 West Thompson Pencil 32 1.99 63.68\n", "9 2019-06-08 East Jones Binder 60 8.99 539.40" ] }, "execution_count": 91, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.head(10)" ] }, { "cell_type": "code", "execution_count": 92, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>OrderDate</th>\n", " <th>Region</th>\n", " <th>Rep</th>\n", " <th>Item</th>\n", " <th>Units</th>\n", " <th>Unit Cost</th>\n", " <th>Total</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>38</td>\n", " <td>2020-10-14</td>\n", " <td>West</td>\n", " <td>Thompson</td>\n", " <td>Binder</td>\n", " <td>57</td>\n", " <td>19.99</td>\n", " <td>1139.43</td>\n", " </tr>\n", " <tr>\n", " <td>39</td>\n", " <td>2020-10-31</td>\n", " <td>Central</td>\n", " <td>Andrews</td>\n", " <td>Pencil</td>\n", " <td>14</td>\n", " <td>1.29</td>\n", " <td>18.06</td>\n", " </tr>\n", " <tr>\n", " <td>40</td>\n", " <td>2020-11-17</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Binder</td>\n", " <td>11</td>\n", " <td>4.99</td>\n", " <td>54.89</td>\n", " </tr>\n", " <tr>\n", " <td>41</td>\n", " <td>2020-12-04</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Binder</td>\n", " <td>94</td>\n", " <td>19.99</td>\n", " <td>1879.06</td>\n", " </tr>\n", " <tr>\n", " <td>42</td>\n", " <td>2020-12-21</td>\n", " <td>Central</td>\n", " <td>Andrews</td>\n", " <td>Binder</td>\n", " <td>28</td>\n", " <td>4.99</td>\n", " <td>139.72</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " OrderDate Region Rep Item Units Unit Cost Total\n", "38 2020-10-14 West Thompson Binder 57 19.99 1139.43\n", "39 2020-10-31 Central Andrews Pencil 14 1.29 18.06\n", "40 2020-11-17 Central Jardine Binder 11 4.99 54.89\n", "41 2020-12-04 Central Jardine Binder 94 19.99 1879.06\n", "42 2020-12-21 Central Andrews Binder 28 4.99 139.72" ] }, "execution_count": 92, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.tail()" ] }, { "cell_type": "code", "execution_count": 93, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "Index(['OrderDate', 'Region', 'Rep', 'Item', 'Units', 'Unit Cost', 'Total'], dtype='object')" ] }, "execution_count": 93, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.columns" ] }, { "cell_type": "code", "execution_count": 94, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "['OrderDate', 'Region', 'Rep', 'Item', 'Units', 'Unit Cost', 'Total']" ] }, "execution_count": 94, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.columns.to_list()" ] }, { "cell_type": "code", "execution_count": 95, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "<class 'pandas.core.frame.DataFrame'>\n", "RangeIndex: 43 entries, 0 to 42\n", "Data columns (total 7 columns):\n", "OrderDate 43 non-null datetime64[ns]\n", "Region 43 non-null object\n", "Rep 43 non-null object\n", "Item 43 non-null object\n", "Units 43 non-null int64\n", "Unit Cost 43 non-null float64\n", "Total 43 non-null float64\n", "dtypes: datetime64[ns](1), float64(2), int64(1), object(3)\n", "memory usage: 2.5+ KB\n" ] } ], "source": [ "df.info()" ] }, { "cell_type": "code", "execution_count": 97, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "OrderDate 43\n", "Region 3\n", "Rep 11\n", "Item 5\n", "Units 37\n", "Unit Cost 12\n", "Total 41\n", "dtype: int64" ] }, "execution_count": 97, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.nunique()" ] }, { "cell_type": "code", "execution_count": 98, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>OrderDate</th>\n", " <th>Region</th>\n", " <th>Rep</th>\n", " <th>Item</th>\n", " <th>Units</th>\n", " <th>Unit Cost</th>\n", " <th>Total</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>2019-01-06</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pencil</td>\n", " <td>95</td>\n", " <td>1.99</td>\n", " <td>189.05</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2019-01-23</td>\n", " <td>Central</td>\n", " <td>Kivell</td>\n", " <td>Binder</td>\n", " <td>50</td>\n", " <td>19.99</td>\n", " <td>999.50</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>2019-02-09</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Pencil</td>\n", " <td>36</td>\n", " <td>4.99</td>\n", " <td>179.64</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>2019-02-26</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Pen</td>\n", " <td>27</td>\n", " <td>19.99</td>\n", " <td>539.73</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>2019-03-15</td>\n", " <td>West</td>\n", " <td>Sorvino</td>\n", " <td>Pencil</td>\n", " <td>56</td>\n", " <td>2.99</td>\n", " <td>167.44</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " OrderDate Region Rep Item Units Unit Cost Total\n", "0 2019-01-06 East Jones Pencil 95 1.99 189.05\n", "1 2019-01-23 Central Kivell Binder 50 19.99 999.50\n", "2 2019-02-09 Central Jardine Pencil 36 4.99 179.64\n", "3 2019-02-26 Central Gill Pen 27 19.99 539.73\n", "4 2019-03-15 West Sorvino Pencil 56 2.99 167.44" ] }, "execution_count": 98, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.head()" ] }, { "cell_type": "code", "execution_count": 99, "metadata": {}, "outputs": [], "source": [ "df['20% Dis'] = df['Total'].apply(lambda x: x*(20/100))" ] }, { "cell_type": "code", "execution_count": 100, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>OrderDate</th>\n", " <th>Region</th>\n", " <th>Rep</th>\n", " <th>Item</th>\n", " <th>Units</th>\n", " <th>Unit Cost</th>\n", " <th>Total</th>\n", " <th>20% Dis</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>2019-01-06</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pencil</td>\n", " <td>95</td>\n", " <td>1.99</td>\n", " <td>189.05</td>\n", " <td>37.810</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2019-01-23</td>\n", " <td>Central</td>\n", " <td>Kivell</td>\n", " <td>Binder</td>\n", " <td>50</td>\n", " <td>19.99</td>\n", " <td>999.50</td>\n", " <td>199.900</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>2019-02-09</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Pencil</td>\n", " <td>36</td>\n", " <td>4.99</td>\n", " <td>179.64</td>\n", " <td>35.928</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>2019-02-26</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Pen</td>\n", " <td>27</td>\n", " <td>19.99</td>\n", " <td>539.73</td>\n", " <td>107.946</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>2019-03-15</td>\n", " <td>West</td>\n", " <td>Sorvino</td>\n", " <td>Pencil</td>\n", " <td>56</td>\n", " <td>2.99</td>\n", " <td>167.44</td>\n", " <td>33.488</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " OrderDate Region Rep Item Units Unit Cost Total 20% Dis\n", "0 2019-01-06 East Jones Pencil 95 1.99 189.05 37.810\n", "1 2019-01-23 Central Kivell Binder 50 19.99 999.50 199.900\n", "2 2019-02-09 Central Jardine Pencil 36 4.99 179.64 35.928\n", "3 2019-02-26 Central Gill Pen 27 19.99 539.73 107.946\n", "4 2019-03-15 West Sorvino Pencil 56 2.99 167.44 33.488" ] }, "execution_count": 100, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.head()" ] }, { "cell_type": "code", "execution_count": 101, "metadata": {}, "outputs": [], "source": [ "df['Payment'] = df['Total'] - df['20% Dis']" ] }, { "cell_type": "code", "execution_count": 102, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<div>\n", "<style scoped>\n", " .dataframe tbody tr th:only-of-type {\n", " vertical-align: middle;\n", " }\n", "\n", " .dataframe tbody tr th {\n", " vertical-align: top;\n", " }\n", "\n", " .dataframe thead th {\n", " text-align: right;\n", " }\n", "</style>\n", "<table border=\"1\" class=\"dataframe\">\n", " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", " <th>OrderDate</th>\n", " <th>Region</th>\n", " <th>Rep</th>\n", " <th>Item</th>\n", " <th>Units</th>\n", " <th>Unit Cost</th>\n", " <th>Total</th>\n", " <th>20% Dis</th>\n", " <th>Payment</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <td>0</td>\n", " <td>2019-01-06</td>\n", " <td>East</td>\n", " <td>Jones</td>\n", " <td>Pencil</td>\n", " <td>95</td>\n", " <td>1.99</td>\n", " <td>189.05</td>\n", " <td>37.810</td>\n", " <td>151.240</td>\n", " </tr>\n", " <tr>\n", " <td>1</td>\n", " <td>2019-01-23</td>\n", " <td>Central</td>\n", " <td>Kivell</td>\n", " <td>Binder</td>\n", " <td>50</td>\n", " <td>19.99</td>\n", " <td>999.50</td>\n", " <td>199.900</td>\n", " <td>799.600</td>\n", " </tr>\n", " <tr>\n", " <td>2</td>\n", " <td>2019-02-09</td>\n", " <td>Central</td>\n", " <td>Jardine</td>\n", " <td>Pencil</td>\n", " <td>36</td>\n", " <td>4.99</td>\n", " <td>179.64</td>\n", " <td>35.928</td>\n", " <td>143.712</td>\n", " </tr>\n", " <tr>\n", " <td>3</td>\n", " <td>2019-02-26</td>\n", " <td>Central</td>\n", " <td>Gill</td>\n", " <td>Pen</td>\n", " <td>27</td>\n", " <td>19.99</td>\n", " <td>539.73</td>\n", " <td>107.946</td>\n", " <td>431.784</td>\n", " </tr>\n", " <tr>\n", " <td>4</td>\n", " <td>2019-03-15</td>\n", " <td>West</td>\n", " <td>Sorvino</td>\n", " <td>Pencil</td>\n", " <td>56</td>\n", " <td>2.99</td>\n", " <td>167.44</td>\n", " <td>33.488</td>\n", " <td>133.952</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ " OrderDate Region Rep Item Units Unit Cost Total 20% Dis \\\n", "0 2019-01-06 East Jones Pencil 95 1.99 189.05 37.810 \n", "1 2019-01-23 Central Kivell Binder 50 19.99 999.50 199.900 \n", "2 2019-02-09 Central Jardine Pencil 36 4.99 179.64 35.928 \n", "3 2019-02-26 Central Gill Pen 27 19.99 539.73 107.946 \n", "4 2019-03-15 West Sorvino Pencil 56 2.99 167.44 33.488 \n", "\n", " Payment \n", "0 151.240 \n", "1 799.600 \n", "2 143.712 \n", "3 431.784 \n", "4 133.952 " ] }, "execution_count": 102, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df.head()" ] }, { "cell_type": "code", "execution_count": 103, "metadata": {}, "outputs": [], "source": [ "import matplotlib.pyplot as plt" ] }, { "cell_type": "code", "execution_count": 105, "metadata": {}, "outputs": [ { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAAAswAAAFlCAYAAAD/Kr6hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nOzdaZRb53kn+P+LfasCamcVKZKiREpeJMsStdiyLCpuO467p53MmelInsR2YltJx/kwyXyY5PTp4z49x3N6ZronHXc6TkuJ4qTjJVs78XScxY5FOY65iFosS7JIcRXJ2oEqrIV7cYF3Ptz7olA7gHsvgAv8f+fwkESBxUupCnjw4P8+j5BSgoiIiIiItufr9gUQEREREfUyFsxERERERLtgwUxEREREtAsWzEREREREu2DBTERERES0CxbMRERERES7CHT7AvYyPj4uDx8+3O3LICIiIqI+9sILLyxLKSe2+1jPF8yHDx/GuXPnun0ZRERERNTHhBDXdvoYIxlERERERLtgwUxEREREtAsWzEREREREu2DBTERERES0CxbMRERERES7YMFMRERERLQLFsxERERERLtgwUxEREREtAsWzEREREREu2DBTERERES0CxbMRERERES7YMFMRERERI4pV6p4K13q9mU4igUzERERETnmy2fewod/87uoVGvdvhTHsGAmIiIiIscs5Moo6VUUNaPbl+IYFsxERERE5BhVKOfLLJiJiIiIiLZQBXNRZ8FMRERERLRFQauaP7PDTERERES0leowF5hhJiIiIiLaSkUxilanuR+wYCYiIiIix6x3mCtdvhLnsGAmIiIiIseoznKBHWYiIiIioq3qHWYe+iMiIiIi2khKuZ5h5lg5IiIiIqKN1ipV1KT5ay4uISIiIiLapHGUHFdjExERERFtUmo46MeCmYiIiIhok8YOc54FMxERERHRRqqrHAn62GEmIiIiItpMTcaYGo4M1mpsIcQzQohFIcSrDbf9sRDiZevHVSHEy9bth4UQaw0f+52GP3OfEOKHQoiLQogvCCGEO/8kIiIiIuoGtaxkaigycB3mLwH4cOMNUsqfllLeI6W8B8CfA/hvDR++pD4mpfzFhtu/COBJAEetHxs+JxERERF5W8kqkieHw4M1Vk5K+V0Ame0+ZnWJ/wWAr+72OYQQ0wCGpZSnpJQSwB8C+MnWL5eIiIiIepWKYewbjkAzajCqtS5fkTPsZpgfAbAgpXyz4bZbhRAvCSGeE0I8Yt22H8CNhvvcsG4jIiIioj5RVJGM4ciG33tdwOaffwIbu8tzAA5KKdNCiPsA/IUQ4h0Atssry50+qRDiSZjxDRw8eNDmJRIRERFRJxR1A+GAD8loEACQ1yp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BoPBYCSBFcwMBoPBYDAYDEYS/j9oiRTf+v76+QAAAABJRU5ErkJggg==\n", "text/plain": [ "<Figure size 864x432 with 1 Axes>" ] }, "metadata": { "needs_background": "light" }, "output_type": "display_data" } ], "source": [ "plt.figure(figsize = (12,6))\n", "plt.plot(df['OrderDate'], df['Total'])\n", "plt.show()" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.4" } }, "nbformat": 4, "nbformat_minor": 2 }
36.89916
46,840
0.513563
14,383
158,076
5.621845
0.12334
0.042927
0.059363
0.014618
0.379117
0.355594
0.341248
0.326222
0.310949
0.305656
0
0.110144
0.300621
158,076
4,283
46,841
36.907775
0.621247
0
0
0.787532
0
0.004903
0.715036
0.310003
0
1
0
0
0
1
0
true
0
0.0007
0
0.0007
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
null
1
0
0
0
0
0
1
0
0
0
0
0
0
5
6c9d49b908c5df3035e07d3c483b13e9188d77b7
145
py
Python
streamy/analyzer/cross_reference.py
wallarelvo/streamy
a173bf66da111d176c0a1d37f144374ea0b80e32
[ "Apache-2.0" ]
1
2015-08-21T23:26:36.000Z
2015-08-21T23:26:36.000Z
streamy/analyzer/cross_reference.py
wallarelvo/streamy
a173bf66da111d176c0a1d37f144374ea0b80e32
[ "Apache-2.0" ]
null
null
null
streamy/analyzer/cross_reference.py
wallarelvo/streamy
a173bf66da111d176c0a1d37f144374ea0b80e32
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python class CrossReference(object): def __init__(self, db): self.db = db def check(self, tweet): pass
14.5
29
0.593103
19
145
4.315789
0.736842
0.146341
0
0
0
0
0
0
0
0
0
0
0.282759
145
9
30
16.111111
0.788462
0.137931
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.2
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
6cab85835a16a5d370724ff624afcd5138307bec
208
py
Python
exercicios/exercicio074.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
exercicios/exercicio074.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
exercicios/exercicio074.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
import random n = (random.randint(1, 10), random.randint(1, 10), random.randint(1, 10), random.randint(1, 10), random.randint(1, 10)) print(n) print(f'Maior: {sorted(n)[-1]}') print(f'Menor: {sorted(n)[0]}')
34.666667
119
0.658654
37
208
3.702703
0.324324
0.474453
0.510949
0.583942
0.583942
0.583942
0.583942
0.583942
0.583942
0.583942
0
0.089947
0.091346
208
5
120
41.6
0.634921
0
0
0
0
0
0.206731
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.6
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
6cc208bf4d040b6c5060c4962b16878b3b8edaa0
211
py
Python
module/__init__.py
Goochaozheng/ChunkFusion
7458a8e08886cc76cfeb87881c51e23b1d0674c3
[ "MIT" ]
3
2022-03-15T08:34:15.000Z
2022-03-15T08:40:06.000Z
module/__init__.py
Goochaozheng/ChunkFusion
7458a8e08886cc76cfeb87881c51e23b1d0674c3
[ "MIT" ]
null
null
null
module/__init__.py
Goochaozheng/ChunkFusion
7458a8e08886cc76cfeb87881c51e23b1d0674c3
[ "MIT" ]
null
null
null
from .chunk import Chunk from .chunkManager import ChunkManager, constructChunksFromVolume from .pipeline import Pipeline from .tsdfIntegrator import TSDFIntegrator from .fusionIntegrator import FusionIntegrator
42.2
65
0.876777
21
211
8.809524
0.380952
0
0
0
0
0
0
0
0
0
0
0
0.094787
211
5
66
42.2
0.968586
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9f8da547ea9ccfd1eec5f9d4772695ba8cda36ba
38
py
Python
dizoo/minigrid/envs/__init__.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
2
2021-07-30T15:55:45.000Z
2021-07-30T16:35:10.000Z
dizoo/minigrid/envs/__init__.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
null
null
null
dizoo/minigrid/envs/__init__.py
konnase/DI-engine
f803499cad191e9277b10e194132d74757bcfc8e
[ "Apache-2.0" ]
null
null
null
from .minigrid_env import MiniGridEnv
19
37
0.868421
5
38
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
38
1
38
38
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
4ca434cdd519a4fa3f6ae73f37dd8acf42fa09d8
110
py
Python
config.py
itszn/led-dashboard
e5b0a82cba895f2bb79de3489b7f1a65e1864b95
[ "MIT" ]
1
2018-07-31T02:53:52.000Z
2018-07-31T02:53:52.000Z
config.py
itszn/led-dashboard
e5b0a82cba895f2bb79de3489b7f1a65e1864b95
[ "MIT" ]
null
null
null
config.py
itszn/led-dashboard
e5b0a82cba895f2bb79de3489b7f1a65e1864b95
[ "MIT" ]
null
null
null
CONFIG_LOCATION = '/home/rgb_user/.config/rgbd/config.json' LIGHT_CTL = '/home/rgb_user/.local/bin/lightctl'
27.5
59
0.763636
17
110
4.705882
0.705882
0.175
0.275
0
0
0
0
0
0
0
0
0
0.063636
110
3
60
36.666667
0.776699
0
0
0
0
0
0.669725
0.669725
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
4ce55501804ffbf405bcb1d02055ce11b1e3850e
2,544
py
Python
app/service/interfaces/i_rest_svc.py
mihaid-b/caldera
90af73188a9865757c167efd31cbd87a8e6160b1
[ "Apache-2.0" ]
3,385
2017-11-29T02:08:31.000Z
2022-03-31T13:38:11.000Z
app/service/interfaces/i_rest_svc.py
mihaid-b/caldera
90af73188a9865757c167efd31cbd87a8e6160b1
[ "Apache-2.0" ]
1,283
2017-11-29T16:45:31.000Z
2022-03-31T20:10:04.000Z
app/service/interfaces/i_rest_svc.py
mihaid-b/caldera
90af73188a9865757c167efd31cbd87a8e6160b1
[ "Apache-2.0" ]
800
2017-11-29T17:48:43.000Z
2022-03-30T22:39:40.000Z
import abc class RestServiceInterface(abc.ABC): @abc.abstractmethod def persist_adversary(self, access, data): """ Save a new adversary from either the GUI or REST API. This writes a new YML file into the core data/ directory. :param access :param data: :return: the ID of the created adversary """ pass @abc.abstractmethod def update_planner(self, data): """ Update a new planner from either the GUI or REST API with new stopping conditions. This overwrites the existing YML file. :param data: :return: the ID of the created adversary """ pass @abc.abstractmethod def persist_ability(self, access, data): pass @abc.abstractmethod def persist_source(self, access, data): pass @abc.abstractmethod def delete_agent(self, data): pass @abc.abstractmethod def delete_ability(self, data): pass @abc.abstractmethod def delete_adversary(self, data): pass @abc.abstractmethod def delete_operation(self, data): pass @abc.abstractmethod def display_objects(self, object_name, data): pass @abc.abstractmethod def display_result(self, data): pass @abc.abstractmethod def display_operation_report(self, data): pass @abc.abstractmethod def download_contact_report(self, contact): pass @abc.abstractmethod def update_agent_data(self, data): pass @abc.abstractmethod def update_chain_data(self, data): pass @abc.abstractmethod def create_operation(self, access, data): pass @abc.abstractmethod def create_schedule(self, access, data): pass @abc.abstractmethod def list_payloads(self): pass @abc.abstractmethod def find_abilities(self, paw): pass @abc.abstractmethod def get_potential_links(self, op_id, paw): pass @abc.abstractmethod def apply_potential_link(self, link): pass @abc.abstractmethod def task_agent_with_ability(self, paw, ability_id, obfuscator, facts): pass @abc.abstractmethod def get_link_pin(self, json_data): pass @abc.abstractmethod def construct_agents_for_group(self, group): pass @abc.abstractmethod def update_config(self, data): pass @abc.abstractmethod def update_operation(self, op_id, state, autonomous): pass
21.74359
119
0.637972
296
2,544
5.344595
0.27027
0.268647
0.316056
0.364096
0.579646
0.458281
0.404551
0.082174
0.082174
0.082174
0
0
0.28695
2,544
116
120
21.931034
0.872106
0.139544
0
0.649351
0
0
0
0
0
0
0
0
0
1
0.324675
false
0.324675
0.012987
0
0.350649
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
5
4ceb26036819c2bb77eb3521cfbe455bb414498c
188
py
Python
Modulo4/scripts/pandas/lectura.py
Flor246/PythonFlor
6481e258286bdb939e42190363cdd6d3bb70c00d
[ "Apache-2.0" ]
null
null
null
Modulo4/scripts/pandas/lectura.py
Flor246/PythonFlor
6481e258286bdb939e42190363cdd6d3bb70c00d
[ "Apache-2.0" ]
null
null
null
Modulo4/scripts/pandas/lectura.py
Flor246/PythonFlor
6481e258286bdb939e42190363cdd6d3bb70c00d
[ "Apache-2.0" ]
null
null
null
import pandas as pd # 1. Leer fuentes de informacion 'csv','excel', 'sql','json','etc' # 2. Procesamiento # 3. Obtengo un resultado -> 'guardo un archivo' 'excel', 'sql', 'csv', 'etc'
20.888889
77
0.643617
27
188
4.481481
0.814815
0.132231
0
0
0
0
0
0
0
0
0
0.019231
0.170213
188
9
77
20.888889
0.75641
0.835106
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
4cfc93c855a879bdfd9109df075297cf07a881c4
3,261
py
Python
tests/test_ring_random.py
senk8/crypto-math
91c7b02a28e91190089b0213065498ce3c6b2e18
[ "MIT" ]
1
2022-01-01T07:48:29.000Z
2022-01-01T07:48:29.000Z
tests/test_ring_random.py
senk8/crypto-math
91c7b02a28e91190089b0213065498ce3c6b2e18
[ "MIT" ]
null
null
null
tests/test_ring_random.py
senk8/crypto-math
91c7b02a28e91190089b0213065498ce3c6b2e18
[ "MIT" ]
null
null
null
from crypto_math import GF, poly_ring import pytest import numpy as np import random def r_setup(p): F = GF(p) R = poly_ring(F) return R @pytest.mark.parametrize( "p", [ 2, 3, 5, 7, 11, 101, 257, 65537, ], ) def test_add_random(p): R = r_setup(p) for _ in range(10 ** 2): x = np.poly1d( [random.randint(0, 10 ** 2) for _ in range(random.randint(1, 10 ** 2))] ) y = np.poly1d( [random.randint(0, 10 ** 2) for _ in range(random.randint(1, 10 ** 2))] ) actual = R(x.coeffs) + R(y.coeffs) expect = R((x + y).coeffs) assert actual == expect @pytest.mark.parametrize( "p", [ 2, 3, 5, 7, 11, 101, 257, 65537, ], ) def test_sub_random(p): R = r_setup(p) for _ in range(10 ** 2): x = np.poly1d( [random.randint(0, 10 ** 2) for _ in range(random.randint(1, 10 ** 2))] ) y = np.poly1d( [random.randint(0, 10 ** 2) for _ in range(random.randint(1, 10 ** 2))] ) actual = R(x.coeffs) - R(y.coeffs) expect = R((x - y).coeffs) assert actual == expect @pytest.mark.parametrize( "p", [ 2, 3, 5, 7, 11, 101, 257, 65537, ], ) def test_mul_random(p): R = r_setup(p) for _ in range(10 ** 2): x = np.poly1d( [random.randint(0, 10 ** 2) for _ in range(random.randint(1, 10 ** 2))] ) y = np.poly1d( [random.randint(0, 10 ** 2) for _ in range(random.randint(1, 10 ** 2))] ) actual = R(x.coeffs) * R(y.coeffs) expect = R((x * y).coeffs) assert actual == expect @pytest.mark.parametrize( "p,MOD", [ (2, (1, 1, 1)), (3, (1, 0, 2, 1)), (5, (1, 0, 4, 4, 2)), (7, (1, 0, 0, 0, 1, 1)), (11, (1, 0, 3, 4, 6, 7, 2)), (101, (1, 0, 0, 0, 0, 0, 6, 99)), (65537, (1, 1, 3, 11, 44, 65484, 153, 53377, 59)), ], ) def test_divison_random(p, MOD): R = r_setup(p) for _ in range(10 ** 2): n = random.randint(1, (len(MOD) - 1) * 2) x = np.poly1d([random.randint(0, p) for _ in range(n)]) y = np.poly1d(MOD) expect_q, expect_r = x / y actual_q, actual_r = R.division(R(x.coeffs), R(y.coeffs)) assert R(expect_q.coeffs) == actual_q assert R(expect_r.coeffs) == actual_r @pytest.mark.parametrize( "p,MOD", [ (2, (1, 1, 1)), (3, (1, 0, 2, 1)), (5, (1, 0, 4, 4, 2)), (7, (1, 0, 0, 0, 1, 4)), (11, (1, 0, 3, 4, 6, 7, 2)), (101, (1, 0, 0, 0, 0, 0, 6, 99)), (65537, (1, 1, 3, 11, 44, 65484, 153, 53377, 59)), ], ) def test_ext_euclid_random(p, MOD): R = r_setup(p) y = R(MOD) for _ in range(10 ** 2): n = random.randint(1, len(MOD) - 1) x = R([random.randint(0, p) for _ in range(n)]) if x.is_zero(): continue gcd, e, _ = R.ext_euclid(x, y) _, r = R.division(e * x, y) assert gcd == R.one() assert r == R.one()
21.885906
83
0.443116
487
3,261
2.874743
0.141684
0.036429
0.092857
0.105
0.780714
0.779286
0.767857
0.740714
0.703571
0.697857
0
0.133168
0.380558
3,261
148
84
22.033784
0.559901
0
0
0.589147
0
0
0.003987
0
0
0
0
0
0.054264
1
0.046512
false
0
0.031008
0
0.085271
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
98041a99b10b65d86e7c08350dd32f0ec07d5d05
133
py
Python
factoriocalc/__main__.py
ekimekim/factoriocalc
18583ee0ea16a12c061b272db68469edee86606d
[ "MIT" ]
23
2017-12-09T05:35:10.000Z
2022-02-08T06:05:10.000Z
factoriocalc/__main__.py
ekimekim/factoriocalc
18583ee0ea16a12c061b272db68469edee86606d
[ "MIT" ]
2
2021-02-17T09:27:01.000Z
2021-02-19T00:39:23.000Z
factoriocalc/__main__.py
ekimekim/factoriocalc
18583ee0ea16a12c061b272db68469edee86606d
[ "MIT" ]
1
2021-02-17T01:18:18.000Z
2021-02-17T01:18:18.000Z
import logging from factoriocalc.main import main import argh logging.basicConfig(level=logging.DEBUG) argh.dispatch_command(main)
16.625
40
0.842105
18
133
6.166667
0.611111
0.18018
0
0
0
0
0
0
0
0
0
0
0.090226
133
7
41
19
0.917355
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e21c971e3c54dd5e57fee6dda37462e2572720bc
181
py
Python
sympy/equation/tests/test_equation.py
mcpl-sympy/sympy
3cbea35437ebd3d5767ca44f3b1ed6c519970c5b
[ "BSD-3-Clause" ]
null
null
null
sympy/equation/tests/test_equation.py
mcpl-sympy/sympy
3cbea35437ebd3d5767ca44f3b1ed6c519970c5b
[ "BSD-3-Clause" ]
3
2020-05-24T14:09:45.000Z
2020-09-27T07:13:08.000Z
sympy/equation/tests/test_equation.py
mcpl-sympy/sympy
3cbea35437ebd3d5767ca44f3b1ed6c519970c5b
[ "BSD-3-Clause" ]
2
2020-09-22T13:23:08.000Z
2020-09-25T05:12:28.000Z
from sympy import Eqn, Equation, symbols x, y = symbols('x y') def test_Eqn(): assert Eqn(x, y) == Equation(x, y) assert Eqn(x, y).lhs == x assert Eqn(x, y).rhs == y
18.1
40
0.585635
33
181
3.181818
0.393939
0.114286
0.285714
0.314286
0
0
0
0
0
0
0
0
0.243094
181
9
41
20.111111
0.766423
0
0
0
0
0
0.016575
0
0
0
0
0
0.5
1
0.166667
true
0
0.166667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
5
e226ddb55a17e91cfbc94375599200f000759782
93
py
Python
gidtools/gidconfig/__init__.py
Giddius/gidtools_utils
ab0667a0c7b6115df327ebdbd40f290a73f9dbd4
[ "MIT" ]
null
null
null
gidtools/gidconfig/__init__.py
Giddius/gidtools_utils
ab0667a0c7b6115df327ebdbd40f290a73f9dbd4
[ "MIT" ]
null
null
null
gidtools/gidconfig/__init__.py
Giddius/gidtools_utils
ab0667a0c7b6115df327ebdbd40f290a73f9dbd4
[ "MIT" ]
null
null
null
from .classes import * from .data import * from .functions import * from .factories import *
18.6
24
0.741935
12
93
5.75
0.5
0.434783
0
0
0
0
0
0
0
0
0
0
0.172043
93
4
25
23.25
0.896104
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
e25a45cdd57c65bc64e0aeb8922ad962c93ba610
29
py
Python
api/queue/push/__init__.py
sofia008/api-redis-queue
8d65665c8a9f44990565baa8c7ba43d7f01425d3
[ "Apache-2.0" ]
null
null
null
api/queue/push/__init__.py
sofia008/api-redis-queue
8d65665c8a9f44990565baa8c7ba43d7f01425d3
[ "Apache-2.0" ]
null
null
null
api/queue/push/__init__.py
sofia008/api-redis-queue
8d65665c8a9f44990565baa8c7ba43d7f01425d3
[ "Apache-2.0" ]
null
null
null
# api/queue/push/__init__.py
14.5
28
0.758621
5
29
3.6
1
0
0
0
0
0
0
0
0
0
0
0
0.068966
29
1
29
29
0.666667
0.896552
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
e25e236aa2cfbf2410bc7412d9e8584f0f451440
378
py
Python
openapi_genclient/api/__init__.py
nicholasid7/tnk_open_api
25829e974ef45a925568278c02df701979526a28
[ "Unlicense" ]
null
null
null
openapi_genclient/api/__init__.py
nicholasid7/tnk_open_api
25829e974ef45a925568278c02df701979526a28
[ "Unlicense" ]
null
null
null
openapi_genclient/api/__init__.py
nicholasid7/tnk_open_api
25829e974ef45a925568278c02df701979526a28
[ "Unlicense" ]
null
null
null
from __future__ import absolute_import # flake8: noqa # import apis into api package from openapi_genclient.api.market_api import MarketApi from openapi_genclient.api.operations_api import OperationsApi from openapi_genclient.api.orders_api import OrdersApi from openapi_genclient.api.portfolio_api import PortfolioApi from openapi_genclient.api.sandbox_api import SandboxApi
34.363636
62
0.873016
52
378
6.057692
0.423077
0.174603
0.31746
0.365079
0
0
0
0
0
0
0
0.002915
0.092593
378
10
63
37.8
0.915452
0.108466
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e265ba34fd41c076542bbface9865f8ab134ac92
29
py
Python
trafficlight_recognizer/nodes/region_tlr_tensorflow/trafficlight_recognizer/__init__.py
astuff/autoware.ai-core_perception
bc00df8d8ab6448b4e8ec7a74c0bb42f8e26565e
[ "Apache-2.0" ]
null
null
null
trafficlight_recognizer/nodes/region_tlr_tensorflow/trafficlight_recognizer/__init__.py
astuff/autoware.ai-core_perception
bc00df8d8ab6448b4e8ec7a74c0bb42f8e26565e
[ "Apache-2.0" ]
null
null
null
trafficlight_recognizer/nodes/region_tlr_tensorflow/trafficlight_recognizer/__init__.py
astuff/autoware.ai-core_perception
bc00df8d8ab6448b4e8ec7a74c0bb42f8e26565e
[ "Apache-2.0" ]
null
null
null
from tensorflow_tlr import *
14.5
28
0.827586
4
29
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
e2a2f9d452d53123fb314afdca2e17c258e343c4
222
py
Python
stats/cron.py
bradeckert/eyebrowse-server
0cd89dd65b5a7766a7c98067349fef05ce640a1a
[ "Unlicense" ]
null
null
null
stats/cron.py
bradeckert/eyebrowse-server
0cd89dd65b5a7766a7c98067349fef05ce640a1a
[ "Unlicense" ]
null
null
null
stats/cron.py
bradeckert/eyebrowse-server
0cd89dd65b5a7766a7c98067349fef05ce640a1a
[ "Unlicense" ]
null
null
null
import kronos from stats.cron_tasks.calculate_stats import user_stat_gen from common.cron_tasks.add_favicons import add_favicons @kronos.register("0 * * * *") def hourly_cron(): user_stat_gen() add_favicons()
22.2
58
0.761261
32
222
4.9375
0.53125
0.208861
0.139241
0
0
0
0
0
0
0
0
0.005263
0.144144
222
9
59
24.666667
0.826316
0
0
0
0
0
0.040541
0
0
0
0
0
0
1
0.142857
true
0
0.428571
0
0.571429
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
2c47e05604ebab13ea6b4511ed367ac3f90f8df2
401
py
Python
api/exceptions.py
jeancochrane/bunny-hook
94a12e61b40129d37eebf5a547edbd6661c534ab
[ "MIT" ]
null
null
null
api/exceptions.py
jeancochrane/bunny-hook
94a12e61b40129d37eebf5a547edbd6661c534ab
[ "MIT" ]
12
2018-02-20T15:36:38.000Z
2018-02-27T03:07:47.000Z
api/exceptions.py
jeancochrane/bunny-hook
94a12e61b40129d37eebf5a547edbd6661c534ab
[ "MIT" ]
null
null
null
# exceptions.py -- custom exception classes for this module class PayloadException(Exception): ''' Something went wrong with the payload from the GitHub API. ''' pass class WorkerException(Exception): ''' Something went wrong in the worker process. ''' pass class QueueException(Exception): ''' Something went wrong in the queue process. ''' pass
17.434783
62
0.660848
44
401
6.022727
0.590909
0.203774
0.249057
0.30566
0.241509
0.241509
0
0
0
0
0
0
0.254364
401
22
63
18.227273
0.886288
0.508728
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
2cb71fabddcc8735b2f04d305eeff9ac1dd375ec
60
py
Python
nextoff/test/testfile.py
rakesh4real/nextoff
1482af694a24dd4665044f92acc8e5b66c1adbda
[ "MIT" ]
null
null
null
nextoff/test/testfile.py
rakesh4real/nextoff
1482af694a24dd4665044f92acc8e5b66c1adbda
[ "MIT" ]
null
null
null
nextoff/test/testfile.py
rakesh4real/nextoff
1482af694a24dd4665044f92acc8e5b66c1adbda
[ "MIT" ]
null
null
null
def printHi(): print('hi') def print2(): print('2')
12
15
0.533333
8
60
4
0.75
0
0
0
0
0
0
0
0
0
0
0.043478
0.233333
60
5
16
12
0.652174
0
0
0
0
0
0.04918
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
5
2cb8fc61213da7dda3faeaf5a771eb7684804845
388
py
Python
crowdsrc/src/serializers/__init__.py
BenEast/crowdsrc-backend
d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e
[ "MIT" ]
null
null
null
crowdsrc/src/serializers/__init__.py
BenEast/crowdsrc-backend
d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e
[ "MIT" ]
null
null
null
crowdsrc/src/serializers/__init__.py
BenEast/crowdsrc-backend
d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e
[ "MIT" ]
null
null
null
from .project_serializers import * from .skill_serializers import * from .task_serializers import * from .task_submission_serializers import * from .team_message_serializers import * from .user_settings_serializers import * from .user_serializers import * from .search_serializers import * from .review_serializers import * from .crowd_serializers import * from .auth_serializers import *
35.272727
42
0.832474
47
388
6.574468
0.319149
0.605178
0.679612
0.161812
0
0
0
0
0
0
0
0
0.110825
388
11
43
35.272727
0.895652
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
2ccda4815633659af823cfb780f7273a47e4396c
77
py
Python
segtypes/common/segment.py
paulsapps/splat
e312b86f36982dfddc4b00f082d7066f0b259938
[ "MIT" ]
31
2021-01-23T01:21:40.000Z
2022-03-19T03:56:42.000Z
segtypes/common/segment.py
paulsapps/splat
e312b86f36982dfddc4b00f082d7066f0b259938
[ "MIT" ]
44
2021-02-03T15:10:37.000Z
2022-03-03T08:29:47.000Z
segtypes/common/segment.py
paulsapps/splat
e312b86f36982dfddc4b00f082d7066f0b259938
[ "MIT" ]
10
2021-03-16T19:37:24.000Z
2022-03-03T15:09:48.000Z
from segtypes.segment import Segment class CommonSegment(Segment): pass
15.4
36
0.792208
9
77
6.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.155844
77
4
37
19.25
0.938462
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
e2c1c75d937d3ca9e08d088a2cc21dd4522f223d
410
py
Python
tests/python/functions/test_parameter_list.py
AustinScola/seligimus
206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a
[ "MIT" ]
1
2021-01-30T15:57:40.000Z
2021-01-30T15:57:40.000Z
tests/python/functions/test_parameter_list.py
AustinScola/seligimus
206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a
[ "MIT" ]
100
2021-01-30T16:01:46.000Z
2021-07-24T14:00:04.000Z
tests/python/functions/test_parameter_list.py
AustinScola/seligimus
206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a
[ "MIT" ]
null
null
null
"""Test seligimus.python.functions.parameter_list.""" from inspect import Parameter from typing import List from seligimus.python.functions.parameter_list import ParameterList def test_parameter_list() -> None: """Test seligimus.python.functions.parameter_list.ParameterList.""" assert issubclass(ParameterList, List) assert ParameterList.__args__ == (Parameter, ) # type: ignore[attr-defined]
34.166667
80
0.780488
46
410
6.76087
0.434783
0.167203
0.231511
0.318328
0.382637
0.263666
0
0
0
0
0
0
0.114634
410
11
81
37.272727
0.856749
0.334146
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.166667
true
0
0.5
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e2d9a25b0f95bfde91eaa1bf9633ecfa3f19a9d4
253
py
Python
micro_orm/fields/exceptions.py
RooYnnER/micro-orm
7ec329072a71565696fe27f44ff08412c708ff29
[ "MIT" ]
null
null
null
micro_orm/fields/exceptions.py
RooYnnER/micro-orm
7ec329072a71565696fe27f44ff08412c708ff29
[ "MIT" ]
null
null
null
micro_orm/fields/exceptions.py
RooYnnER/micro-orm
7ec329072a71565696fe27f44ff08412c708ff29
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- class NotNullFieldError(Exception): pass class TooLargeContent(Exception): pass class NoDateTimeGiven(Exception): pass class NoBooleanGiven(Exception): pass class NoListOrTupleGiven(Exception): pass
11.5
36
0.70751
23
253
7.782609
0.478261
0.363128
0.402235
0
0
0
0
0
0
0
0
0.004926
0.197628
253
21
37
12.047619
0.876847
0.083004
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
e2f11fc768e2a6277dadb7f00424666aad1c40f0
19
py
Python
esp32/tools/fw_version.py
rbk1/micropython-bfh
2ad86c3084ba5cf2cc14166d318e367e23057095
[ "MIT" ]
null
null
null
esp32/tools/fw_version.py
rbk1/micropython-bfh
2ad86c3084ba5cf2cc14166d318e367e23057095
[ "MIT" ]
null
null
null
esp32/tools/fw_version.py
rbk1/micropython-bfh
2ad86c3084ba5cf2cc14166d318e367e23057095
[ "MIT" ]
null
null
null
number = '1.6.7.b1'
19
19
0.578947
5
19
2.2
1
0
0
0
0
0
0
0
0
0
0
0.235294
0.105263
19
1
19
19
0.411765
0
0
0
0
0
0.4
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
390fd4af3cc3fd24554ca6e720df720d1d0363b9
464
py
Python
tests/unit/chains.py
btclib-org/btclib_node
3e5b2a55195e60e1d30505b52bc1ddd8d51c74cf
[ "MIT" ]
4
2021-01-25T23:39:13.000Z
2021-08-08T06:27:53.000Z
tests/unit/chains.py
btclib-org/btclib_node
3e5b2a55195e60e1d30505b52bc1ddd8d51c74cf
[ "MIT" ]
null
null
null
tests/unit/chains.py
btclib-org/btclib_node
3e5b2a55195e60e1d30505b52bc1ddd8d51c74cf
[ "MIT" ]
1
2020-12-18T06:28:18.000Z
2020-12-18T06:28:18.000Z
from btclib_node.chains import Main, RegTest, SigNet, TestNet def test_genesis(): assert ( Main().genesis.hash == "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" ) assert ( TestNet().genesis.hash == "000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943" ) assert ( SigNet().genesis.hash == "00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6" )
27.294118
77
0.702586
27
464
12
0.62963
0.101852
0
0
0
0
0
0
0
0
0
0.363636
0.217672
464
16
78
29
0.528926
0
0
0.214286
0
0
0.413793
0.413793
0
0
0
0
0.214286
1
0.071429
true
0
0.071429
0
0.142857
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
3917dc151674e0d9469bc7e808800e97ebdaaa90
136
py
Python
support/pycad/acad.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
1
2020-03-25T03:27:24.000Z
2020-03-25T03:27:24.000Z
support/pycad/acad.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
null
null
null
support/pycad/acad.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
null
null
null
import clr, pycad from pycad.system import * import System clr.ImportExtensions(System.Linq) clr.ImportExtensions(acap) codebase = None
22.666667
33
0.816176
19
136
5.894737
0.578947
0.339286
0
0
0
0
0
0
0
0
0
0
0.095588
136
6
34
22.666667
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.833333
null
null
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
5
1a64d0d2de3dbce053ed1648030790e7ef1ce79c
144
py
Python
stylo/testing/domain.py
mvinoba/stylo
84f3a74cf9cb29c6d24b990dc9a474562114392b
[ "MIT" ]
null
null
null
stylo/testing/domain.py
mvinoba/stylo
84f3a74cf9cb29c6d24b990dc9a474562114392b
[ "MIT" ]
null
null
null
stylo/testing/domain.py
mvinoba/stylo
84f3a74cf9cb29c6d24b990dc9a474562114392b
[ "MIT" ]
null
null
null
from stylo.domain import RealDomain from stylo.testing._factory import define_domain_test BaseRealDomainTest = define_domain_test(RealDomain)
24
53
0.868056
18
144
6.666667
0.555556
0.15
0.266667
0
0
0
0
0
0
0
0
0
0.090278
144
5
54
28.8
0.916031
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
1a6e7d9f348f5a54d9c8c07bb00b38e2f556ce8c
1,549
py
Python
example/migrations/0004_alter_body_stream_feild.py
fabienheureux/wagtail-wordpress-import
3c27330258e24a6b52f3d580060f607706bbc9d0
[ "MIT" ]
22
2021-12-06T14:47:40.000Z
2022-03-31T18:12:34.000Z
example/migrations/0004_alter_body_stream_feild.py
fabienheureux/wagtail-wordpress-import
3c27330258e24a6b52f3d580060f607706bbc9d0
[ "MIT" ]
87
2021-10-01T09:25:16.000Z
2022-02-14T10:56:16.000Z
example/migrations/0004_alter_body_stream_feild.py
fabienheureux/wagtail-wordpress-import
3c27330258e24a6b52f3d580060f607706bbc9d0
[ "MIT" ]
5
2021-12-11T21:43:26.000Z
2022-03-07T06:15:21.000Z
# Generated by Django 3.2.7 on 2021-11-15 13:38 from django.db import migrations import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('example', '0003_add_unique_constraint_name'), ] operations = [ migrations.AlterField( model_name='testpage', name='body', field=wagtail.core.fields.StreamField([('rich_text', wagtail.core.blocks.RichTextBlock(features=['anchor-identifier', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'bold', 'italic', 'ol', 'ul', 'hr', 'link', 'document-link', 'image', 'embed', 'superscript', 'subscript', 'strikethrough', 'blockquote'])), ('heading', wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(form_classname='title')), ('importance', wagtail.core.blocks.ChoiceBlock(choices=[('h1', 'H1'), ('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4'), ('h5', 'H5'), ('h6', 'H6')]))])), ('image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('caption', wagtail.core.blocks.CharBlock(required=False)), ('link', wagtail.core.blocks.URLBlock(required=False)), ('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('left', 'Left'), ('right', 'Right'), ('center', 'Center')]))])), ('block_quote', wagtail.core.blocks.StructBlock([('quote', wagtail.core.blocks.CharBlock(form_classname='title')), ('attribution', wagtail.core.blocks.CharBlock(required=False))])), ('raw_html', wagtail.core.blocks.RawHTMLBlock())]), ), ]
70.409091
1,130
0.664945
176
1,549
5.795455
0.488636
0.161765
0.216667
0.101961
0.231373
0.162745
0.086275
0
0
0
0
0.02689
0.111685
1,549
21
1,131
73.761905
0.71439
0.029051
0
0
1
0
0.215712
0.020639
0
0
0
0
0
1
0
false
0
0.333333
0
0.533333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
1ab76a4654a62c5d7e4aeaf569a25191b51e80e0
833
py
Python
test/test_apps_wrapper.py
fnproject/fn_python
79575fc4867378331602a52422bc808f0f808b50
[ "Apache-2.0" ]
6
2017-09-24T16:50:49.000Z
2019-10-23T22:14:39.000Z
test/test_apps_wrapper.py
fnproject/fn_python
79575fc4867378331602a52422bc808f0f808b50
[ "Apache-2.0" ]
null
null
null
test/test_apps_wrapper.py
fnproject/fn_python
79575fc4867378331602a52422bc808f0f808b50
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ fn The open source serverless platform. OpenAPI spec version: 0.2.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import unittest import swagger_client from swagger_client.rest import ApiException from swagger_client.models.apps_wrapper import AppsWrapper class TestAppsWrapper(unittest.TestCase): """ AppsWrapper unit test stubs """ def setUp(self): pass def tearDown(self): pass def testAppsWrapper(self): """ Test AppsWrapper """ # FIXME: construct object with mandatory attributes with example values #model = swagger_client.models.apps_wrapper.AppsWrapper() pass if __name__ == '__main__': unittest.main()
18.511111
79
0.683073
96
833
5.729167
0.635417
0.094545
0.061818
0.083636
0.109091
0
0
0
0
0
0
0.006279
0.235294
833
44
80
18.931818
0.857143
0.386555
0
0.1875
1
0
0.017699
0
0
0
0
0.022727
0
1
0.1875
false
0.1875
0.4375
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
1
1
0
1
0
0
5
1ac56bde10e31f868f4f2626cec4d3acb37cc5f2
26
py
Python
test.py
HoolyPanda/VkTUI
2a4aa545c5da5d3f7482d01919ac79cd1afced12
[ "MIT" ]
null
null
null
test.py
HoolyPanda/VkTUI
2a4aa545c5da5d3f7482d01919ac79cd1afced12
[ "MIT" ]
null
null
null
test.py
HoolyPanda/VkTUI
2a4aa545c5da5d3f7482d01919ac79cd1afced12
[ "MIT" ]
null
null
null
import os os.system('vim')
13
16
0.730769
5
26
3.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.076923
26
2
16
13
0.791667
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
46bef2acece39601dd0203a080f62b6e054c57a6
129
py
Python
customerDetails/customerDBOps.py
surajsjain/social-media-analytics-app
1f310dcf2f79c9f80edee80dd59d8c63f827f04a
[ "MIT" ]
null
null
null
customerDetails/customerDBOps.py
surajsjain/social-media-analytics-app
1f310dcf2f79c9f80edee80dd59d8c63f827f04a
[ "MIT" ]
8
2020-06-05T20:49:10.000Z
2022-02-10T00:37:59.000Z
customerDetails/customerDBOps.py
surajsjain/social-media-analytics-app
1f310dcf2f79c9f80edee80dd59d8c63f827f04a
[ "MIT" ]
3
2020-01-26T10:48:25.000Z
2020-08-25T17:47:54.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:33ec7c63416ee6099552660c0b37e950bd763df731340e67b0f9ac6a4f168b4e size 1010
32.25
75
0.883721
13
129
8.769231
1
0
0
0
0
0
0
0
0
0
0
0.414634
0.046512
129
3
76
43
0.512195
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
46cb39c582e0d75ed2a2e39d00a156838ac87b62
105
py
Python
pydtk/__init__.py
dataware-tools/pydtk
1da61fb8ca90de6c39a371a9b2b65f4473932991
[ "Apache-2.0" ]
11
2020-10-09T01:29:18.000Z
2022-01-21T13:21:40.000Z
pydtk/__init__.py
dataware-tools/pydtk
1da61fb8ca90de6c39a371a9b2b65f4473932991
[ "Apache-2.0" ]
64
2020-10-20T04:55:22.000Z
2022-01-24T15:52:32.000Z
pydtk/__init__.py
dataware-tools/pydtk
1da61fb8ca90de6c39a371a9b2b65f4473932991
[ "Apache-2.0" ]
1
2021-07-30T04:52:38.000Z
2021-07-30T04:52:38.000Z
"""pydtk modules.""" __version__ = "0.0.0-0" __commit_id__ = "335be874b189127a42620a0475877155cdf0f870"
21
58
0.761905
10
105
7.1
0.7
0.084507
0.084507
0
0
0
0
0
0
0
0
0.364583
0.085714
105
4
59
26.25
0.375
0.133333
0
0
0
0
0.552941
0.470588
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
46cd2183259d492ac88bd181f889432f5634582a
80
py
Python
reservoirpy/krpy/__init__.py
scuervo91/reservoirpy
a4db620baf3ff66a85c7f61b1919713a8642e6fc
[ "MIT" ]
16
2020-05-07T01:57:04.000Z
2021-11-27T12:45:59.000Z
reservoirpy/krpy/__init__.py
scuervo91/reservoirpy
a4db620baf3ff66a85c7f61b1919713a8642e6fc
[ "MIT" ]
null
null
null
reservoirpy/krpy/__init__.py
scuervo91/reservoirpy
a4db620baf3ff66a85c7f61b1919713a8642e6fc
[ "MIT" ]
5
2020-05-12T07:28:24.000Z
2021-12-10T21:24:59.000Z
from .kr import Kr, KrWaterOil, KrGasOil, kr_curve, sw_denormalize, sw_normalize
80
80
0.825
12
80
5.25
0.75
0
0
0
0
0
0
0
0
0
0
0
0.1
80
1
80
80
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
46d0d6a76b1b5fc741596f98c0d2cbdf1530a94a
52
py
Python
dpiswitchutils/exceptions.py
Kidlike/plasma-dpi-switcher
8c34eb8131119c382cad265d7a78219568d247c9
[ "Unlicense" ]
47
2019-03-24T19:49:32.000Z
2021-08-02T19:46:52.000Z
dpiswitchutils/exceptions.py
Kidlike/plasma-dpi-switcher
8c34eb8131119c382cad265d7a78219568d247c9
[ "Unlicense" ]
13
2019-03-24T20:05:07.000Z
2022-01-01T17:27:16.000Z
dpiswitchutils/exceptions.py
valueerrorx/plasma-dpi-switcher
eb3f5104f743d76cf098c6bf8280cee9928bd927
[ "Unlicense" ]
7
2019-03-29T18:47:14.000Z
2021-10-14T21:30:16.000Z
class ProfileNotFoundException(Exception): pass
17.333333
42
0.807692
4
52
10.5
1
0
0
0
0
0
0
0
0
0
0
0
0.134615
52
2
43
26
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
46fbf42104de947c0e77e71c2447ee3c75c2b9df
127
py
Python
Parkeringshus/main/admin.py
jeppefm1/Parkering
9b9522039095cb7e17966487d2a9e4e6889fe40c
[ "Apache-2.0" ]
1
2019-03-08T15:09:41.000Z
2019-03-08T15:09:41.000Z
Parkeringshus/main/admin.py
jeppefm1/Parkering
9b9522039095cb7e17966487d2a9e4e6889fe40c
[ "Apache-2.0" ]
null
null
null
Parkeringshus/main/admin.py
jeppefm1/Parkering
9b9522039095cb7e17966487d2a9e4e6889fe40c
[ "Apache-2.0" ]
1
2019-03-08T15:08:13.000Z
2019-03-08T15:08:13.000Z
from django.contrib import admin from .models import Contact, Plates from django.db import models # Register your models here.
25.4
35
0.811024
19
127
5.421053
0.631579
0.194175
0
0
0
0
0
0
0
0
0
0
0.141732
127
4
36
31.75
0.944954
0.204724
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
200233a5b713ca830801d9ef8cb1586a8cffeca9
386
py
Python
scripts/patches/codecommit.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
scripts/patches/codecommit.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
scripts/patches/codecommit.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
patches = [ # backwards compatibility { "op": "move", "from": "/PropertyTypes/AWS::CodeCommit::Repository.RepositoryTrigger", "path": "/PropertyTypes/AWS::CodeCommit::Repository.Trigger", }, { "op": "replace", "path": "/ResourceTypes/AWS::CodeCommit::Repository/Properties/Triggers/ItemType", "value": "Trigger", }, ]
27.571429
90
0.585492
29
386
7.793103
0.655172
0.172566
0.30531
0.318584
0
0
0
0
0
0
0
0
0.235751
386
13
91
29.692308
0.766102
0.059585
0
0
0
0
0.609418
0.501385
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
201a8046f17dd3c5a0f00a1ac9a291ced49a6097
64
py
Python
Python/Tests/TestData/DebuggerProject/Sub/paths.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
Python/Tests/TestData/DebuggerProject/Sub/paths.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
Python/Tests/TestData/DebuggerProject/Sub/paths.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
import os, sys print(os.curdir) print('\n'.join(sys.path))
12.8
27
0.640625
11
64
3.727273
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.15625
64
4
28
16
0.759259
0
0
0
0
0
0.033333
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
2026f416c0600dcd20f5d5688a92a53f72dc578d
1,103
py
Python
fsetools/tests/test_lib_pd7974_1_2019.py
fsepy/fsetools
6b6c647912551680109a84d8640b9cfbe7970970
[ "Apache-2.0" ]
1
2020-02-25T21:47:56.000Z
2020-02-25T21:47:56.000Z
fsetools/tests/test_lib_pd7974_1_2019.py
fsepy/fsetools
6b6c647912551680109a84d8640b9cfbe7970970
[ "Apache-2.0" ]
12
2020-02-24T10:10:57.000Z
2020-09-18T11:18:08.000Z
fsetools/tests/test_lib_pd7974_1_2019.py
fsepy/fsetools
6b6c647912551680109a84d8640b9cfbe7970970
[ "Apache-2.0" ]
null
null
null
from fsetools.libstd.pd_7974_1_2019 import _test_eq_10_virtual_origin as test_eq_10_virtual_origin from fsetools.libstd.pd_7974_1_2019 import _test_eq_14_plume_temperature as test_eq_14_plume_temperature from fsetools.libstd.pd_7974_1_2019 import _test_eq_15_plume_velocity as test_eq_15_plume_velocity from fsetools.libstd.pd_7974_1_2019 import _test_eq_22_t_squared_fire_growth as test_eq_22_t_squared_fire_growth from fsetools.libstd.pd_7974_1_2019 import _test_eq_26_axisymmetric_ceiling_jet_temperature as test_eq_26_axisymmetric_ceiling_jet_temperature from fsetools.libstd.pd_7974_1_2019 import _test_eq_27_axisymmetric_ceiling_jet_velocity as test_eq_27_axisymmetric_ceiling_jet_velocity from fsetools.libstd.pd_7974_1_2019 import _test_eq_55_activation_of_heat_detector_device as test_eq_55_activation_of_heat_detector_device test_eq_10_virtual_origin() test_eq_14_plume_temperature() test_eq_15_plume_velocity() test_eq_22_t_squared_fire_growth() test_eq_26_axisymmetric_ceiling_jet_temperature() test_eq_27_axisymmetric_ceiling_jet_velocity() test_eq_55_activation_of_heat_detector_device()
68.9375
142
0.929284
195
1,103
4.54359
0.179487
0.142212
0.142212
0.158014
0.984199
0.802483
0.802483
0.488713
0.366817
0.366817
0
0.099715
0.045331
1,103
15
143
73.533333
0.74169
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
645235755581f6ffbc646d90c7755fc2678bb4b5
146
py
Python
object_detection2/modeling/backbone/__init__.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
6
2019-12-10T17:18:56.000Z
2022-03-01T01:00:35.000Z
object_detection2/modeling/backbone/__init__.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
2
2021-08-25T16:16:01.000Z
2022-02-10T05:21:19.000Z
object_detection2/modeling/backbone/__init__.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
2
2019-12-07T09:57:35.000Z
2021-09-06T04:58:10.000Z
from . import resnet,fpn,shufflenetv2,bifpn,buildin_hooks,mobilenets,efficientnet,twfpn from . import hrnet,resnetv2,darknet,spp_pan,vgg,fpnv2,dla
73
87
0.849315
21
146
5.809524
0.904762
0.163934
0
0
0
0
0
0
0
0
0
0.021583
0.047945
146
2
88
73
0.856115
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
647534a58eeb1d21b2a69713160c6bef78363374
433
py
Python
argus/exc.py
rkargon/image-sorter
f9cc5253613d6f476f5a0b0bd5121e955683e32b
[ "MIT" ]
null
null
null
argus/exc.py
rkargon/image-sorter
f9cc5253613d6f476f5a0b0bd5121e955683e32b
[ "MIT" ]
null
null
null
argus/exc.py
rkargon/image-sorter
f9cc5253613d6f476f5a0b0bd5121e955683e32b
[ "MIT" ]
null
null
null
""" File for representing argus-specific exceptions. """ class ArgusException(Exception): """ Exception class for the Argus application """ pass class ImageLoadException(ArgusException): """ Exception raised when an image file could not be loaded """ pass class InvalidQueryException(ArgusException): """ Exception raised when Argus is given a query that it can't parse """ pass
17.32
68
0.676674
47
433
6.234043
0.659574
0.235495
0.197952
0.225256
0
0
0
0
0
0
0
0
0.240185
433
24
69
18.041667
0.890578
0.487298
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
649f6a649e1401755f5a1eaad8eb7fc06bcf24a9
89
py
Python
ex04/salary.py
CoderDojo-Karlskrona/python-exercises
b22dd8a642b67d1c18790643718f133d7fc470fe
[ "Apache-2.0" ]
null
null
null
ex04/salary.py
CoderDojo-Karlskrona/python-exercises
b22dd8a642b67d1c18790643718f133d7fc470fe
[ "Apache-2.0" ]
null
null
null
ex04/salary.py
CoderDojo-Karlskrona/python-exercises
b22dd8a642b67d1c18790643718f133d7fc470fe
[ "Apache-2.0" ]
null
null
null
hrs = float(raw_input("Timmar: ")) rate = float(raw_input('Timpeng: ')) print hrs * rate
22.25
36
0.674157
13
89
4.461538
0.615385
0.275862
0.448276
0
0
0
0
0
0
0
0
0
0.134831
89
3
37
29.666667
0.753247
0
0
0
0
0
0.191011
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
b39a4154089b2b8d9a1483281dafb22bbe7091bf
16,180
py
Python
kat/tracer/ppparser.py
TOT0RoKR/kat
5fafe688593a60700f1067ca51ec9d5f148a396e
[ "MIT" ]
3
2019-10-27T08:26:15.000Z
2019-11-26T12:23:38.000Z
kat/tracer/ppparser.py
tot0rokr/kat
5fafe688593a60700f1067ca51ec9d5f148a396e
[ "MIT" ]
null
null
null
kat/tracer/ppparser.py
tot0rokr/kat
5fafe688593a60700f1067ca51ec9d5f148a396e
[ "MIT" ]
1
2020-01-25T00:14:51.000Z
2020-01-25T00:14:51.000Z
""" Author: TOT0Ro (tot0roprog@gmail.com) tot0rokr.github.io ppparser.py preprocess parser tokens: Result of lexical analysis about preprocesses in "*.c" c code return: constructed tags """ from kat.lib.tag import * from kat.lib.file import File from kat.lib.token import Token from kat.lib.scope import * from kat.tracer.tokenlib import * import re def parse(tokens, file_tag): scope_stack = [] tags = [] include_files = [] # included libraries # they'll be mapped by pptracer after # returning this function included_scope = [] path = file_tag.path base = file_tag.scope scope_stack.append(base) tokens.append(Token(token_kind['T_LAST'])) # This is only used by last chunk error_text = None tokens.reverse() if tokens.pop().kind != token_kind['T_FIRST']: raise AssertionError("Error initialized tokens") def start(): while True: if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() elif tokens[-1].kind == token_kind['T_COMMENT_SINGL_LINE']: tokens.pop() comment_single() elif tokens[-1].kind == token_kind['T_COMMENT_MULTI_LINE_OPEN']: tokens.pop() comment_multiline() elif tokens[-1].kind == token_kind['T_QUOTES_DOUBLE']: tokens.pop() string() elif tokens[-1].kind == token_kind['T_QUOTES_SINGLE']: tokens.pop() charactor() elif tokens[-1].kind == token_kind['T_INCLUDE_STD_H']: include_files.append(tokens.pop().substance) elif tokens[-1].kind == token_kind['T_INCLUDE_USR_H']: include_files.append(tokens.pop().substance) elif tokens[-1].kind == token_kind['T_INCLUDE_MACRO']: include_files.append(tokens.pop().substance) elif tokens[-1].kind == token_kind['T_PREPROCESS']: tok = tokens.pop() if tok.substance == preprocess_kind['macro']: macro() elif tok.substance == preprocess_kind['macrofunc']: macrofunc() elif tok.substance == preprocess_kind['undef']: macroundef() elif tok.substance == preprocess_kind['ifdef']: ppifdef(tok.line_nr) elif tok.substance == preprocess_kind['ifndef']: ppifndef(tok.line_nr) elif tok.substance == preprocess_kind['if']: ppif(tok.line_nr) elif tok.substance == preprocess_kind['elif']: ppelif(tok.line_nr) elif tok.substance == preprocess_kind['else']: ppelse(tok.line_nr) elif tok.substance == preprocess_kind['endif']: ppendif(tok.line_nr) # pass preprocess elif tok.substance == preprocess_kind['pragma']: expression("pass") elif tok.substance == preprocess_kind['error']: expression("pass") elif tok.substance == preprocess_kind['line']: expression("pass") elif tok.substance == preprocess_kind['warning']: expression("pass") elif tokens[-1].kind == token_kind['T_LAST']: return (tags, include_files, included_scope) else: error_text = "error_start" raise AssertionError(error_text + " : " + path + " : " + str(tokens[-1].line_nr)) def comment_single(): while True: if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() break else: tokens.pop() def comment_multiline(): while True: if tokens[-1].kind == token_kind['T_COMMENT_MULTI_LINE_CLOSE']: tokens.pop() break else: tokens.pop() def string(): data = "" while True: if tokens[-1].kind == token_kind['T_NEWLINE']: error_text = "string" raise AssertionError(error_text) elif tokens[-1].kind == token_kind['T_QUOTES_DOUBLE']: tokens.pop() break else: tok = tokens.pop() # if tok is None: # raise AssertionError(token_kind_index[tok.kind] + " " \ # + path + " ")# + tok.line_nr) # if tok.substance is None: # raise AssertionError(token_kind_index[tok.kind] + " " \ # + path + " ")# + tok.line_nr) data += tok.substance #tokens.pop().substance return data def charactor(): data = "" while True: if tokens[-1].kind == token_kind['T_NEWLINE']: error_text = "charactor_start" raise AssertionError(error_text + " : " + path + " : " + str(tokens[-1].line_nr)) elif tokens[-1].kind == token_kind['T_QUOTES_SINGLE']: tokens.pop() break else: data = tokens.pop().substance return data def macro(): if tokens[-1].kind >= token_kind['T_IDENTIFIER'] \ and tokens[-1].kind <= token_kind['T_SIZEOF']: # listing tok = tokens.pop() tag = MacroTag(name=tok.substance, line=tok.line_nr, path=path , scope=scope_stack[-1], type="macro") expr = expression("macro") # TODO: put {expr} in {tag} file_tag.append_defined_tag(tag.name) tags.append(tag) else: error_text = "macro" raise AssertionError(error_text + " : " + path + " : " + str(tokens[-1].line_nr)) def macrofunc(): if tokens[-1].kind >= token_kind['T_IDENTIFIER'] \ and tokens[-1].kind <= token_kind['T_SIZEOF']: # listing tok = tokens.pop() tag = MacroTag(name=tok.substance, line=tok.line_nr, path=path , scope=scope_stack[-1], type="macrofunc") argu_list = macrofunc_argu() # TODO: put {argu_list} in {tag} expr = expression("macro") # TODO: put {expr} in {tag} file_tag.append_defined_tag(tag.name) tags.append(tag) else: error_text = "macrofunc" raise AssertionError(error_text) def macroundef(): if tokens[-1].kind >= token_kind['T_IDENTIFIER'] \ and tokens[-1].kind <= token_kind['T_SIZEOF']: # listing tok = tokens.pop() tag = MacroTag(name=tok.substance, line=tok.line_nr, path=path , scope=scope_stack[-1], type="undef") file_tag.append_defined_tag(tag.name) tags.append(tag) expression("pass") else: error_text = "macroundef" raise AssertionError(error_text) def macrofunc_argu(): if tokens[-1].kind == token_kind['T_PARENTHESIS_OPEN']: tokens.pop() li = [] if tokens[-1].kind >= token_kind['T_IDENTIFIER'] \ and tokens[-1].kind <= token_kind['T_SIZEOF']: # listing li.append(tokens.pop()) while tokens[-1].kind == token_kind['T_COMMA']: tokens.pop() if tokens[-1].kind >= token_kind['T_IDENTIFIER'] \ and tokens[-1].kind <= token_kind['T_SIZEOF']: li.append(tokens.pop()) elif tokens[-1].kind == token_kind['T_VARIABLE_ARGUMENTS']: li.append(tokens.pop()) break elif tokens[-1].kind == token_kind['T_VARIABLE_ARGUMENTS']: li.append(tokens.pop()) elif tokens[-1].kind == token_kind['T_PARENTHESIS_CLOSE']: # list end tokens.pop() else: error_text = "macrofunc_argu - listing / line:" + str(tokens[-1].line_nr) \ + " " + tokens[-1].substance + " " + path raise AssertionError(error_text) return li else: error_text = "macrofunc_argu" raise AssertionError(error_text) def expression(type): if type == "macro": expr = [] while True: if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() break elif tokens[-1].kind == token_kind['T_COMMENT_SINGL_LINE']: tokens.pop() comment_single() elif tokens[-1].kind == token_kind['T_COMMENT_MULTI_LINE_OPEN']: tokens.pop() comment_multiline() elif tokens[-1].kind == token_kind['T_QUOTES_DOUBLE']: tokens.pop() string() elif tokens[-1].kind == token_kind['T_QUOTES_SINGLE']: tokens.pop() charactor() elif tokens[-1].kind == token_kind['T_BACKSLASH']: tokens.pop() if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() else: error_text = "expression - macro" raise AssertionError(error_text + "\n" + path + "\n" + str(tokens[-1].line_nr)) break else: # TODO: write what is in macro expr = tokens.pop() return expr elif type == "start": while True: if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() break elif tokens[-1].kind == token_kind['T_COMMENT_SINGL_LINE']: tokens.pop() comment_single() elif tokens[-1].kind == token_kind['T_COMMENT_MULTI_LINE_OPEN']: tokens.pop() comment_multiline() elif tokens[-1].kind == token_kind['T_QUOTES_DOUBLE']: tokens.pop() string() elif tokens[-1].kind == token_kind['T_QUOTES_SINGLE']: tokens.pop() charactor() elif tokens[-1].kind == token_kind['T_BACKSLASH']: tokens.pop() if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() else: error_text = "expression - start" raise AssertionError(error_text) else: tokens.pop() return None elif type == "ppif": expr = [] while True: if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() break elif tokens[-1].kind == token_kind['T_COMMENT_SINGL_LINE']: tokens.pop() comment_single() elif tokens[-1].kind == token_kind['T_COMMENT_MULTI_LINE_OPEN']: tokens.pop() comment_multiline() elif tokens[-1].kind == token_kind['T_QUOTES_DOUBLE']: tokens.pop() string() elif tokens[-1].kind == token_kind['T_QUOTES_SINGLE']: tokens.pop() charactor() elif tokens[-1].kind == token_kind['T_BACKSLASH']: tokens.pop() if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() else: error_text = "expression - ppif" raise AssertionError(error_text) else: tokens.pop() return expr elif type == "pass": while True: if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() break elif tokens[-1].kind == token_kind['T_COMMENT_SINGL_LINE']: tokens.pop() comment_single() elif tokens[-1].kind == token_kind['T_COMMENT_MULTI_LINE_OPEN']: tokens.pop() comment_multiline() elif tokens[-1].kind == token_kind['T_QUOTES_DOUBLE']: tokens.pop() string() elif tokens[-1].kind == token_kind['T_QUOTES_SINGLE']: tokens.pop() charactor() elif tokens[-1].kind == token_kind['T_BACKSLASH']: tokens.pop() if tokens[-1].kind == token_kind['T_NEWLINE']: tokens.pop() else: error_text = "expression - start" raise AssertionError(error_text) else: tokens.pop() return None else: error_text = "expression" raise AssertionError(error_text) def ppifdef(line_nr): if tokens[-1].kind >= token_kind['T_IDENTIFIER'] \ and tokens[-1].kind <= token_kind['T_SIZEOF']: # listing tok = tokens.pop() scope = PreprocessScope(path=file_tag, scope=scope_stack[-1], start=line_nr) scope.condition = [tok.substance, 1, "=="] scope_stack.append(scope) expression("pass") else: error_text = "ppifdef" raise AssertionError(error_text + "\n" + path + "\n" + str(tokens[-1].line_nr)) def ppifndef(line_nr): if tokens[-1].kind >= token_kind['T_IDENTIFIER'] \ and tokens[-1].kind <= token_kind['T_SIZEOF']: # listing tok = tokens.pop() scope = PreprocessScope(path=file_tag, scope=scope_stack[-1], start=line_nr) scope.condition = [tok.substance, 1, "!="] scope_stack.append(scope) expression("pass") else: error_text = "ppifndef" raise AssertionError(error_text + "\n" + path + "\n" + str(tokens[-1].line_nr)) def ppif(line_nr): expr = expression("ppif") scope = PreprocessScope(path=file_tag, scope=scope_stack[-1], start=line_nr) scope.condition = expr scope_stack.append(scope) def ppelif(line_nr): pre_scope = scope_stack.pop() pre_scope.line[1] = line_nr - 1 expr = expression("ppif") # expression of ppelif is same scope = PreprocessScope(path=file_tag, scope=pre_scope.contained_by, start=line_nr) scope.condition = expr pre_scope.post_associator = scope scope.pre_associator = pre_scope scope_stack.append(scope) included_scope.append(pre_scope) def ppelse(line_nr): pre_scope = scope_stack.pop() pre_scope.line[1] = line_nr - 1 scope = PreprocessScope(path=file_tag, scope=pre_scope.contained_by, start=line_nr) pre_scope.post_associator = scope scope.pre_associator = pre_scope scope_stack.append(scope) included_scope.append(pre_scope) expression("pass") def ppendif(line_nr): pre_scope = scope_stack.pop() pre_scope.line[1] = line_nr - 1 included_scope.append(pre_scope) expression("pass") return start()
37.281106
91
0.487268
1,623
16,180
4.646334
0.091805
0.065906
0.086195
0.118817
0.80175
0.746851
0.727755
0.687575
0.654555
0.646996
0
0.009053
0.399197
16,180
433
92
37.367206
0.766691
0.047837
0
0.722857
0
0
0.085101
0.009824
0
0
0
0.002309
0.045714
1
0.048571
false
0.028571
0.017143
0
0.091429
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b3ca7b2a37dd4f09243302b94ee6adf3aea053dc
407
py
Python
model_search/search/__init__.py
LinqCod/model_search
d90bc39994bc2a5f5028035ac954f796eda03310
[ "Apache-2.0" ]
null
null
null
model_search/search/__init__.py
LinqCod/model_search
d90bc39994bc2a5f5028035ac954f796eda03310
[ "Apache-2.0" ]
null
null
null
model_search/search/__init__.py
LinqCod/model_search
d90bc39994bc2a5f5028035ac954f796eda03310
[ "Apache-2.0" ]
null
null
null
"""Phoenix Search Algorithms.""" from model_search.search import categorical_harmonica from model_search.search import constrained_descent from model_search.search import coordinate_descent from model_search.search import harmonica from model_search.search import identity from model_search.search import linear_model from model_search.search import search_algorithm # pylint: disable=g-import-not-at-top
40.7
87
0.859951
57
407
5.929825
0.350877
0.186391
0.310651
0.434911
0.653846
0.414201
0
0
0
0
0
0
0.088452
407
9
88
45.222222
0.911051
0.154791
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
b3d48aafe91ec2cf2b2b320e4a9c36c99c2d8a8d
116
py
Python
fenics_numpy/__init__.py
IvanYashchuk/numpy-fenics-adjoint
7707968cee3cd779e474971da02a058cb4f1d07a
[ "MIT" ]
3
2020-09-06T20:13:38.000Z
2022-01-22T17:14:50.000Z
fenics_numpy/__init__.py
IvanYashchuk/numpy-fenics-adjoint
7707968cee3cd779e474971da02a058cb4f1d07a
[ "MIT" ]
3
2020-09-30T14:50:11.000Z
2021-01-13T16:37:26.000Z
fenics_numpy/__init__.py
IvanYashchuk/numpy-fenics-adjoint
7707968cee3cd779e474971da02a058cb4f1d07a
[ "MIT" ]
null
null
null
from .helpers import fenics_to_numpy, numpy_to_fenics from .core import evaluate_primal, evaluate_vjp, evaluate_jvp
38.666667
61
0.862069
18
116
5.166667
0.611111
0
0
0
0
0
0
0
0
0
0
0
0.094828
116
2
62
58
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b60de5813b39b6fd95521f8b9a8242435b23d90a
174
py
Python
test.py
ava6969/rgb_stacking_extend
a36f1e35aa796e77201321161056e174966e7707
[ "Apache-2.0" ]
null
null
null
test.py
ava6969/rgb_stacking_extend
a36f1e35aa796e77201321161056e174966e7707
[ "Apache-2.0" ]
null
null
null
test.py
ava6969/rgb_stacking_extend
a36f1e35aa796e77201321161056e174966e7707
[ "Apache-2.0" ]
null
null
null
from stable_baselines3.common.vec_env import VecFrameStack, DummyVecEnv import gym env = VecFrameStack( DummyVecEnv([ lambda : gym.make("PongNoFrameskip-v4") ]), 4, 'first')
43.5
90
0.781609
21
174
6.380952
0.761905
0.358209
0
0
0
0
0
0
0
0
0
0.019108
0.097701
174
4
90
43.5
0.834395
0
0
0
0
0
0.131429
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
376aed7327caead109d75d85288e0b5166736a12
90
py
Python
pastepoints/__init__.py
majordookie/paste-cogs
b4e9fd919a8c5dde020b6aabac000c27648b835a
[ "Apache-2.0" ]
1
2019-07-01T20:19:59.000Z
2019-07-01T20:19:59.000Z
pastepoints/__init__.py
majordookie/paste-cogs
b4e9fd919a8c5dde020b6aabac000c27648b835a
[ "Apache-2.0" ]
null
null
null
pastepoints/__init__.py
majordookie/paste-cogs
b4e9fd919a8c5dde020b6aabac000c27648b835a
[ "Apache-2.0" ]
3
2020-10-20T15:02:13.000Z
2020-10-28T17:22:41.000Z
from .pastepoints import PastePoints def setup(bot): bot.add_cog(PastePoints(bot))
22.5
37
0.744444
12
90
5.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.155556
90
4
38
22.5
0.868421
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
37772944621f302d383870fda142b6ebb99b423c
122
py
Python
Exercises_2/meal_planner/meals_plans/admin.py
WillDutcher/project-3-getting-started-with-django
e21cbfeb0e9d1a164a28d9dcca30b69789e2c8ef
[ "CC0-1.0" ]
null
null
null
Exercises_2/meal_planner/meals_plans/admin.py
WillDutcher/project-3-getting-started-with-django
e21cbfeb0e9d1a164a28d9dcca30b69789e2c8ef
[ "CC0-1.0" ]
null
null
null
Exercises_2/meal_planner/meals_plans/admin.py
WillDutcher/project-3-getting-started-with-django
e21cbfeb0e9d1a164a28d9dcca30b69789e2c8ef
[ "CC0-1.0" ]
null
null
null
from django.contrib import admin from .models import Day, Meal admin.site.register(Day) admin.site.register(Meal)
17.428571
33
0.754098
18
122
5.111111
0.555556
0.195652
0.369565
0
0
0
0
0
0
0
0
0
0.155738
122
6
34
20.333333
0.893204
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
37c9bfe60dcdf422ddae7eb933e08f9498eb8efd
78
py
Python
tools/portal/__main__.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
tools/portal/__main__.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
tools/portal/__main__.py
hoefkensj/BTRWin
1432868ad60155f5ae26f33903a890497e089480
[ "MIT" ]
null
null
null
#!/usr/bin/env python import ui.cli if __name__ == '__main__': ui.cli.cli()
13
26
0.666667
13
78
3.384615
0.769231
0.227273
0
0
0
0
0
0
0
0
0
0
0.141026
78
5
27
15.6
0.656716
0.25641
0
0
0
0
0.140351
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
805ebe61b5732b523350b530f6f8bdf8e58468d3
299
py
Python
ansible/module_utils/selvpc_utils/limits.py
Zeppelinen-DevOps/ansible-selvpc-modules
e2b2211ac5144b1bad7f07749da1097ef0826cab
[ "Apache-2.0" ]
15
2017-07-04T18:01:11.000Z
2022-02-09T13:52:42.000Z
ansible/module_utils/selvpc_utils/limits.py
Zeppelinen-DevOps/ansible-selvpc-modules
e2b2211ac5144b1bad7f07749da1097ef0826cab
[ "Apache-2.0" ]
4
2018-11-06T14:10:40.000Z
2020-12-14T19:22:17.000Z
ansible/module_utils/selvpc_utils/limits.py
Zeppelinen-DevOps/ansible-selvpc-modules
e2b2211ac5144b1bad7f07749da1097ef0826cab
[ "Apache-2.0" ]
5
2018-09-13T22:03:08.000Z
2021-05-28T07:15:38.000Z
from ansible.module_utils.selvpc_utils import wrappers @wrappers.get_object('quotas') def get_domain_quotas(module, client): return client.quotas.get_domain_quotas() @wrappers.get_object('quotas') def get_free_domain_quotas(module, client): return client.quotas.get_free_domain_quotas()
24.916667
54
0.80602
42
299
5.404762
0.357143
0.211454
0.14978
0.202643
0.651982
0.651982
0.396476
0.396476
0
0
0
0
0.093645
299
11
55
27.181818
0.837638
0
0
0.285714
0
0
0.040134
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.285714
0.714286
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
80d0d8f290ede2e31914f3e7f7053cb7a59f2038
215
py
Python
src/jyquickhelper/js/visjs/__init__.py
sdpython/jyquickhelper
b8b106ada7f8b606d4f152e186a3343b6c4ab2bb
[ "MIT" ]
3
2020-03-06T23:17:14.000Z
2021-10-16T05:51:21.000Z
src/jyquickhelper/js/visjs/__init__.py
sdpython/jyquickhelper
b8b106ada7f8b606d4f152e186a3343b6c4ab2bb
[ "MIT" ]
9
2016-12-07T10:28:01.000Z
2021-10-16T10:45:43.000Z
src/jyquickhelper/js/visjs/__init__.py
sdpython/jyquickhelper
b8b106ada7f8b606d4f152e186a3343b6c4ab2bb
[ "MIT" ]
null
null
null
""" @file @brief `vis.js <https://github.com/almende/vis>`_ The script was obtained from the `release page <https://github.com/almende/vis/tree/master/dist>`_. """ def version(): "version" return "4.21.1"
17.916667
66
0.665116
32
215
4.40625
0.75
0.156028
0.198582
0.297872
0.340426
0
0
0
0
0
0
0.021622
0.139535
215
11
67
19.545455
0.740541
0.75814
0
0
0
0
0.25
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
5
80efb86748950814ed8312cec1f5876d47fccb8b
584
py
Python
8_things_to_know_exercise/challenge/anyall_solution.py
RiddhiDamani/Python
06cba66aeafd9dc0fa849ec2112c0786a3e8f001
[ "MIT" ]
null
null
null
8_things_to_know_exercise/challenge/anyall_solution.py
RiddhiDamani/Python
06cba66aeafd9dc0fa849ec2112c0786a3e8f001
[ "MIT" ]
null
null
null
8_things_to_know_exercise/challenge/anyall_solution.py
RiddhiDamani/Python
06cba66aeafd9dc0fa849ec2112c0786a3e8f001
[ "MIT" ]
null
null
null
import string def contains_punctuation(input_str): return any(char in string.punctuation for char in input_str ) assert contains_punctuation('Readability counts.') == True assert contains_punctuation('Errors should never pass silently') == False assert contains_punctuation('If the implementation is hard to explain, it\'s a bad idea.') == True assert contains_punctuation('There should be one-- and preferably only one --obvious way to do it.') == True assert contains_punctuation('Simple is better than complex') == False print('Passed all tests ...')
44.923077
109
0.741438
79
584
5.379747
0.64557
0.268235
0.294118
0.204706
0
0
0
0
0
0
0
0
0.167808
584
13
110
44.923077
0.874486
0
0
0
0
0
0.375218
0
0
0
0
0
0.454545
1
0.090909
false
0.181818
0.090909
0.090909
0.272727
0.090909
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
5
80fbda0063a0bf3e8725b18929bfa0af834eb161
2,888
py
Python
16/16.py
PaeP3nguin/advent-of-code-2017
fb6b42437016f905df156cb6e8f02047ca2e86ae
[ "MIT" ]
null
null
null
16/16.py
PaeP3nguin/advent-of-code-2017
fb6b42437016f905df156cb6e8f02047ca2e86ae
[ "MIT" ]
null
null
null
16/16.py
PaeP3nguin/advent-of-code-2017
fb6b42437016f905df156cb6e8f02047ca2e86ae
[ "MIT" ]
null
null
null
#!python3 def main(): with open('16.txt', 'r') as f, open('16_out.txt', 'w') as f_out: line = f.readline() dance_moves = line.strip().split(',') letters = [chr(c) for c in range(97, 113)] # Part 1 programs = letters.copy() # programs = ['a', 'b', 'c', 'd', 'e'] # dance_moves = ['s1', 'x3/4', 'pe/b'] for move in dance_moves: if move[0] == 's': spin_size = int(move[1:]) programs = programs[-spin_size:] + programs[:len(programs) - spin_size] elif move[0] == 'x': a, b = [int(n) for n in move[1:].split('/')] programs[a], programs[b] = programs[b], programs[a] elif move[0] == 'p': swap_a, swap_b = move[1], move[3] a, b = programs.index(swap_a), programs.index(swap_b) programs[a], programs[b] = programs[b], programs[a] print(''.join(programs)) print(''.join(programs), file=f_out) # Part 2 seen = set() cycle_len = 0 programs = letters.copy() for i in range(1000000000): programs_str = ''.join(programs) if programs_str in seen: cycle_len = i break seen.add(programs_str) for move in dance_moves: if move[0] == 's': spin_size = int(move[1:]) programs = programs[-spin_size:] + programs[:len(programs) - spin_size] elif move[0] == 'x': a, b = [int(n) for n in move[1:].split('/')] programs[a], programs[b] = programs[b], programs[a] elif move[0] == 'p': swap_a, swap_b = move[1], move[3] a, b = programs.index(swap_a), programs.index(swap_b) programs[a], programs[b] = programs[b], programs[a] print(f'Cycle length: {cycle_len}') # Sure I mean I guess I could do a better job but hey, copy pasta is easy programs = letters.copy() for i in range(1000000000 % cycle_len): for move in dance_moves: if move[0] == 's': spin_size = int(move[1:]) programs = programs[-spin_size:] + programs[:len(programs) - spin_size] elif move[0] == 'x': a, b = [int(n) for n in move[1:].split('/')] programs[a], programs[b] = programs[b], programs[a] elif move[0] == 'p': swap_a, swap_b = move[1], move[3] a, b = programs.index(swap_a), programs.index(swap_b) programs[a], programs[b] = programs[b], programs[a] print(''.join(programs)) print(''.join(programs), file=f_out) if __name__ == '__main__': main()
40.676056
91
0.475069
365
2,888
3.635616
0.216438
0.12208
0.15373
0.081387
0.728711
0.728711
0.728711
0.728711
0.668425
0.668425
0
0.031457
0.372576
2,888
70
92
41.257143
0.700883
0.058172
0
0.701754
0
0
0.023581
0
0
0
0
0
0
1
0.017544
false
0
0
0
0.017544
0.087719
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
03831210086302bcde2dadbee9b58d7417ddc096
136
py
Python
scenes/__init__.py
zachdj/ultimate-tic-tac-toe-weka
70b1451186e0aaf0582a6c474aa6950ae287543b
[ "MIT" ]
null
null
null
scenes/__init__.py
zachdj/ultimate-tic-tac-toe-weka
70b1451186e0aaf0582a6c474aa6950ae287543b
[ "MIT" ]
null
null
null
scenes/__init__.py
zachdj/ultimate-tic-tac-toe-weka
70b1451186e0aaf0582a6c474aa6950ae287543b
[ "MIT" ]
null
null
null
from .MainMenu import MainMenu from .SetupGame import SetupGame from .PlayGame import PlayGame from .GameCompleted import GameCompleted
27.2
40
0.852941
16
136
7.25
0.375
0
0
0
0
0
0
0
0
0
0
0
0.117647
136
4
41
34
0.966667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
03ecbf6fb0eee71a8973934bf7da01e68bb58672
45
py
Python
tests/__init__.py
doreenfan/vacation_router
638e5ae6fbed4d93cb89d5c801172c439e98f79d
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
doreenfan/vacation_router
638e5ae6fbed4d93cb89d5c801172c439e98f79d
[ "Apache-2.0" ]
1
2021-12-26T01:49:37.000Z
2021-12-26T01:49:37.000Z
tests/__init__.py
doreenfan/vacation_router
638e5ae6fbed4d93cb89d5c801172c439e98f79d
[ "Apache-2.0" ]
1
2021-12-26T01:30:53.000Z
2021-12-26T01:30:53.000Z
"""Unit test package for vacation_router."""
22.5
44
0.733333
6
45
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
45
1
45
45
0.8
0.844444
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
ff09c2255a34785e1bdaa1a49ad2a12cf1e69b96
71
py
Python
plotly_study/express/data.py
lucasiscovici/plotly_py
42ab769febb45fbbe0a3c677dc4306a4f59cea36
[ "MIT" ]
null
null
null
plotly_study/express/data.py
lucasiscovici/plotly_py
42ab769febb45fbbe0a3c677dc4306a4f59cea36
[ "MIT" ]
null
null
null
plotly_study/express/data.py
lucasiscovici/plotly_py
42ab769febb45fbbe0a3c677dc4306a4f59cea36
[ "MIT" ]
null
null
null
from __future__ import absolute_import from plotly_study.data import *
23.666667
38
0.859155
10
71
5.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0.112676
71
2
39
35.5
0.873016
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5