racl101 + data   189

Python’s Functions Are First-Class – dbader.org
Really good tutorial explaining how functions are first class objects in Python.
blog  tutorial  danbader  guide  reference  explanation  python  functions  python2.7  python3  data  structures 
19 days ago by racl101
FormData - Web APIs | MDN
Used this class for sending form submissions via Ajax that include file uploads using the axios.js library.
mozilla  mdn  developer  network  documentation  guide  reference  form  data  class  ajax  request  manual  tutorial  howto  example 
6 weeks ago by racl101
Is there a way to reset a component? · Issue #702 · vuejs/vue
Cool trick to reset component data to its initial values on VueJS (Vue2).
github  forum  vue  vuejs  vue2  howto  example  reset  component  data  object  assign  javascript  guide  reference  context 
8 weeks ago by racl101
Fractal - Output complex, flexible, AJAX/RESTful data structures
Really good, standalone library for API resource (data) transformation that is independent from PHP frameworks (like Laravel).
php  theleague  fractal  library  api  RESTful  standalone  github  transformer  resource  data  documentation  guide  reference  howto  example  tutorial  backend  json 
8 weeks ago by racl101
Theme sections · Shopify Help Center
Theme sections contain section specific theme settings. Note, that even though you can statically / manually add sections to different templates using the {%- section -%} tags, that any data added to those settings is STILL SHARED by all the templates that include the section. So, in other words, if you want to have data specific to certain templates which include the sections you need to use something like section blocks whereby you can specify the name of the template for which a portion of data pertains to. Then in your code you can detect the template name and use the data specific to that template.
shopify  documentation  guide  reference  section  theme  development  schema  sections  data  howto  example  toread  tolearn  totry  tounderstand 
august 2018 by racl101
Theme sections · Shopify Help Center
Theme sections contain section specific theme settings. Note, that even though you can statically / manually add sections to different templates using the {%- section -%} tags, that any data added to those settings is STILL SHARED by all the templates that include the section. So, in other words, if you want to have data specific to certain templates which include the sections you need to use something like section blocks whereby you can specify the name of the template for which a portion of data pertains to. Then in your code you can detect the template name and use the data specific to that template.
shopify  documentation  guide  reference  section  theme  development  schema  sections  data  howto  example  toread  tolearn  totry  tounderstand 
august 2018 by racl101
vue-tables-2 - npm
This is a great and easy to use VueJS 2 library / component to create an HTML table in the style of the jQuery DataTables plugin and supports the following:

- Searching / Filtering (for all rows in table with one text field filter or individually for any column via text field filter)
- Dropdown Filtering (for an individual column)
- Ordering
- Loading data through Ajax from an API (and it has a convenient Laravel server example to implement searching /filtering and pagination)
github  project  vuejs  vue2  vue  data  table  datatable  component  library  ajax  searching  ordering  filtering  laravel  server  side  php  laravel5  implementation  documentation  npm  repository 
july 2018 by racl101
How to load default form values into Vue object
Shows how to populate a component's data from data provided to it by a parent component by props.
laracasts  forum  howto  load  form  field  data  component  from  parent  props  example  guide  reference 
may 2018 by racl101
vue.js - VueJs 2.0 - how to listen for `props` changes - Stack Overflow
In short: using watchers is a nice way to let your component know that data provided to it by way of props has changed which can be used to change your component's own data, which btw, is the only way to achieve reactivity. In other words, reactivity won't occur simply by changing the data to provided to the component through props. You need to use a watcher to listen for changes after component instantiation.
stackoverflow  vue  vuejs  vue2  howto  make  component  listen  props  changes  watch  watcher  data  example  guide  reference 
may 2018 by racl101
Computed Properties and Watchers — Vue.js
If you have a reusable Vue component that gets its own data from the values of the props that it's passed by the parent component and you plan to update values of the props from the parent after instantiation then you should use create a watcher for the prop in the reusable component that updates the data of that same component.
vuejs  vue2  vue  watchers  documentation  guide  reference  props  data  toread  tolearn  totunderstand 
may 2018 by racl101
matfish2/vue-tables-2: Vue.js 2 grid components
This is a great and easy to use VueJS 2 library / component to create an HTML table in the style of the jQuery DataTables plugin and supports the following:

- Searching / Filtering (for all rows in table with one text field filter or individually for any column via text field filter)
- Dropdown Filtering (for an individual column)
- Ordering
- Loading data through Ajax from an API (and it has a convenient Laravel server example to implement searching /filtering and pagination)
github  project  vuejs  vue2  vue  data  table  datatable  component  library  ajax  searching  ordering  filtering  laravel  server  side  php  laravel5  implementation  documentation 
may 2018 by racl101
OneWayTech/vue2-datatable: The best Datatable for Vue.js 2.x which never sucks. Give us a star 🌟 if you like it!
This looked promising but a bit over complicated so I went with the Vue Tables 2 component library instead which has a simpler API and appears to be more documented: https://github.com/matfish2/vue-tables-2
github  vue  vuejs  vue2  addon  plugin  data  table  datatable  totry  project  tolearn  tounderstand 
april 2018 by racl101
Chris Albon
Need to read these tutorials. They have really good and practical Pandas and Numpy examples which look nice and are easy to read and understand.
blog  tutorial  chrisalbon  data  science  python  python2.7  pandas  numpy  tutorials  toread  tolearn  totry  tounderstand 
april 2018 by racl101
MySQL 5.7.12 import cannot create a JSON value from a string with CHARACTER SET 'binary' - Stack Overflow
For single , double quoting issue reasons you might elect to encode your database dump containing a column containing a column that holds JSON data (MySQL sees this as blob data). Then you might need to import this dump again. In those cases you can decode the hexadecimal strings using the MySQL CONVERT function into the original string with utf8mb4 encoding.This is how you do it.
stackoverflow  mysql  mysql5.7  mysqldump  dump  blob  data  utf8mb4  column  convert  decode  hexadecimal  howto  example  guide  reference 
april 2018 by racl101
Welcome to Faker’s documentation! — Faker 0.8.12 documentation
This is the equivalent of PHP's Faker library and works for Python 2.7
python  python2.7  faker  library  module  fake  data  documentation  guide  reference 
april 2018 by racl101
numpy.column_stack — NumPy v1.14 Manual
If you're looking to combine different multidimensional numpy arrays (with several rows and columns) into one large array of mixed types, don't use numpy.column_stack method because it will convert all of them to one type (convert ints into strings for example). Rather, use pandas concat method instead, which means you turn each multidimensional array into its own dataframe. This method is only useful if the array's you're combining have the same data type.
numpy  column_stack  method  combine  arrays  python  python2.7  same  data  type  documentation  howto  example  guide  reference 
april 2018 by racl101
python - NumPy array/matrix of mixed types - Stack Overflow
Helps with creating numpy arrays with mixed types. However, if you're looking to combine different multidimensional numpy arrays (with several rows and columns) into one large array of mixed types, don't use numpy.column_stack method because it will convert all of them to one type (convert ints into strings for example). Rather, use pandas concat method instead, which means you turn each multidimensional array into its own dataframe.
stackoverflow  howto  create  numpy  array  mixed  data  types  python  python2.7  example  guide  reference 
april 2018 by racl101
pandas.concat — pandas 0.22.0 documentation
Also, the best way I've found, so far, to merge multiple sets of columns of data with the same name number of rows but different number of columns of different data types while preserving those data types is two convert each set of rows into its own pandas dataframe and then to concatenate those dataframes by axis=1 (columns, use axis=0 for rows) in the order desired, into its own dataframe.
pandas  documentation  guide  reference  howto  concatenate  concat  method  dataframes  columns  preserving  data  type  python  python2.7 
april 2018 by racl101
pandas.DataFrame — pandas 0.22.0 documentation
The famed Pandas dataframe data structure. This is probably one of the most fundamental topics to read before working with Pandas.
pandas  python  python2.7  gettingstarted  dataframes  data  structure  toread  tolearn  tounderstand  fundamental 
april 2018 by racl101
Python Arrays (With Examples)
TLDR; Python Lists are like PHP arrays and Python Dictionaries are like PHP associative arrays.
blog  tutorial  python  arrays  guide  reference  lists  data  structure  python2.7  datastructure 
march 2018 by racl101
« earlier      
per page:    204080120160

related tags

3.0  access  acf  Actionscript  actionscript3  activism  activities  activity  add  addon  adobe  advanced-custom-fields  ajax  algorithms  Amazon  analysis  analyst  analytics  android  Angular-ui-bootstrap  Angularjs  api  apis  app  apple  apply  apress  architecture  array  arrays  array_fill  article  as  As3  asset  assign  athena  attribute  attributes  audio  available  Aws  axios  axis  backend  backup  basic  beautiful  beautifultable  best  bestpractices  bind  binding  bindings  blob  blog  book  boolean  Bootstrap  build  bundle  business  by  bytes  C++  callback  campaign  career  careers  change  changes  charts  chrisalbon  class  clear  client  cloud  cms  code  codeigniter  collection  collections  column  columns  column_stack  combine  commandline  commercial  commodities  community  component  components  Composer  Composers  computer  computers  concat  concatenate  configuration  constraint  context  controller  convert  converter  cookie  copa  core  correctly  Cost  count  create  creator  css  csv  cURL  currencies  currency  custom  danbader  dashboard  data  data-structures  data-transfer  data-validation  database  Datadir  dataframe  dataframes  Dataonly  Datarescue  Datarescue3  Datarescue4  dataset  datasets  datastructure  DATastructures  datatable  datatypes  datetime  db  ddr3  ddr4  decimal  decode  defaults  delete  demo  demos  derived  design  developer  development  dictionaries  dictionary  difference  digitialocean  dimension  dimensions  directive  directory  documentation  documents  double  drive  dummy  dump  duplicate  dzone  ebook  education  ee  ee2  element  empty  encode  endpoint  enum  environment  error  es6  es2015  eu  european  eventhandler  Every  example  examples  excel  exception  existent  exmplae  explanation  exponent  export  expressionengine  external  facebook  fake  faker  feed  fetch  field  fields  file  files  file_put_contents  fill  filter  filtering  Fineuploader  firefox  fix  flash  float  fonts  football  foreign  form  format  forms  forum  fractal  frame  from  fullstory  function  functions  fundamental  gallery  gametheory  general  generate  generator  get  gettingstarted  get_user_data  github  global  google  grant  graph  graphic  graphics  gravityforms  grid  Groups  guide  guzzle  guzzlehttp  hardware  heredoc  hexadecimal  hide  highcharts  historical  Homebrew  how  howto  HTML  html5  http  ia  iframe  images  implementation  import  importer  importing  including  indexing  infographic  infographics  information  initial  initialize  input  insert  inspiration  install  intent  interesting  internet  ios  ios11  iphone  iris  issue  issues  iterable  javascript  job  jobs  johnresig  jquery  js  json  json_decode  json_encode  julia  jupyter  key  language  languages  laracasts  laravel  laravel5  learning  libraries  library  limits  linkedin  linux  liquid  list  listen  listing  lists  load  loaddata  location  logical  lumen  lumen5.1  mac  machine  macos  macosx  main  make  management  manipulation  manual  map  markup  mask  materials  math  matplotlib  max  mdn  medium  memory  meta  method  metrics  Microsoft  middleware  migration  missing  mixed  modal  model  module  monitor  mozilla  multiple  mysql  mysql5.7  mysqldump  named  names  nan  navigation  netflix  nettuts  NETuts  network  new  newrelic  Ng-class  Ng-repeat  Ngclass  Ngrepeat  nil  nodejs  non  not  notation  notebooks  Notprovided  npm  null  number  numbers  numeric  numpy  nvarchar  o'reilly  object  onLy  operators  ordering  organic  osx  overview  package  packages  packagist  page  paid  pairs  pandas  parameters  parcelable  parent  partners  pass  passport  people  performance  permissions  person  petition  php  pip  Pivot  plan  plugin  plugins  POST  postman  practices  precision  preserving  pretty  print  printer  privacy  product  programming  progress  project  properties  props  protection  provider  providers  publishing  python  python2.7  python3  query  rails  ram  range  rate  reactjs  reading  recommendation  recommended  recording  recovery  recursion  redirect  reference  regulation  repair  replace  repo  reports  repository  request  requests  rescue  reset  resig  resource  response  RESTful  restore  result  revision  Route  rss  S3  same  sample  sanitization  save  saving  schema  science  scientific  scientist  scientists  scikit-learn  screencast  sdk  search  searching  section  sections  security  seed  seeding  selecting  Send  sensitive  sequences  serialize  serialized  server  service  sessionstack  sets  shape  SharedPreferences  sheets  Shell  shopify  side  Simcard  single  slicing  slot  soccer  socialmedia  socialnetworking  software  solspace  sort  Source  sql  sqlite  sqlserver  stackoverflow  standalone  statistics  stock  stocks  storage  store  string  Stringify  structure  structured  structures  styles  success  suggestion  support  swift3  swift4  symbols  syntax  table  tables  tabular  template  test  testing  text  theleague  theme  thephpleague  thread  threads  tobuy  todo  tolearn  tool  tools  top  toread  totry  totunderstand  tounderstand  transfer  transformer  trends  troubleshoot  troubleshooting  truncate  truncated  tuples  tutorial  tutorials  type  types  ubuntu  ubuntu16.04  udacity  unexpected  unicode  Unix  unsigned  upload  url  usability  usb  user  utf8mb4  utilities  v8  validation  value  varchar  variable  variables  video  View  views  visualisation  visualization  vocabulary  vue  vue2  vuejs  watch  watcher  watchers  web  webdesign  webhooks  webpack  website  wishlist  with  within  wordpress  worker  working  worldcup  wpengine  wptuts  write  writing  xcode  xcode9  xml  yojimbo  youtube  zoho  zohocrm 

Copy this bookmark:



description:


tags: