Notes on Python for Data Analysis, 3E
The Python community has adopted a number of naming conventions for commonly used modules:
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
import statsmodels as sm
{ | |
"id": "ev_169vvoU3YUvqS75n", | |
"occurred_at": 1707265233, | |
"source": "admin_console", | |
"user": "admin@vvrkshop.art", | |
"object": "event", | |
"api_version": "v2", | |
"content": { | |
"subscription": { | |
"id": "169vvoU3YUvoI75i", |
update auth.users set raw_user_meta_data=JSONB_BUILD_OBJECT('netvvrk_role', 'admin'); |
➜ storytest git:(main) yarn rw g page home / | |
✔ Generating page files... | |
✔ Successfully wrote file `./web/src/pages/HomePage/HomePage.stories.jsx` | |
✔ Successfully wrote file `./web/src/pages/HomePage/HomePage.test.jsx` | |
✔ Successfully wrote file `./web/src/pages/HomePage/HomePage.jsx` | |
✔ Updating routes file... | |
✔ Generating types... | |
✔ One more thing... | |
Page created! A note about <MetaTags>: | |
At the top of your newly created page is a <MetaTags> component, |
# reversing array/list | |
mylist[::-1] | |
# slices are up to, not including, 2nd number | |
list = [1,2,3,4,5] | |
list[1:3] # => [2, 3] |
Notes on Python for Data Analysis, 3E
The Python community has adopted a number of naming conventions for commonly used modules:
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
import statsmodels as sm
{"version":1,"resource":"file:///Users/barry/code/artsy/gravity/app/models/domain/bidder_position.rb","entries":[{"id":"RkP9.rb","timestamp":1649465059871},{"id":"lVcX.rb","timestamp":1649465092131},{"id":"iMrC.rb","timestamp":1649728983935},{"id":"oWtw.rb","timestamp":1649782069309},{"id":"lKl5.rb","timestamp":1649782110751},{"id":"yGJ7.rb","timestamp":1649782424189},{"id":"auWR.rb","timestamp":1649782483883},{"id":"chQB.rb","timestamp":1649782524636},{"id":"py9D.rb","timestamp":1649782587850},{"id":"Eu8S.rb","timestamp":1649782966707},{"id":"PQmN.rb","timestamp":1649782990528},{"id":"K4Tw.rb","timestamp":1649783029700},{"id":"CqKy.rb","timestamp":1649783062856},{"id":"Ti6M.rb","timestamp":1649783205158},{"id":"sa3W.rb","timestamp":1649783250354},{"id":"TTVF.rb","timestamp":1649783279049},{"id":"dKNc.rb","timestamp":1649783307393},{"id":"y7nd.rb","timestamp":1649788114493}]} |
name: CI/CD | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
MIX_ENV: test |
function sendEmail({email}: {email: string}): string { | |
return `Emailing ${email}` | |
} |
require: | |
- rubocop-performance | |
- rubocop-rails | |
AllCops: | |
Exclude: | |
- bin/* | |
- db/schema.rb | |
- node_modules/**/* | |
- vendor/**/* |