A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
// ==UserScript== | |
// @name Tinder Deblur | |
// @namespace Violentmonkey Scripts | |
// @match https://tinder.com/* | |
// @grant none | |
// @version 1.4 | |
// @author Tajnymag | |
// @downloadURL https://raw.githubusercontent.com/tajnymag/tinder-deblur/main/tinder.user.js | |
// @description Simple script using the official Tinder API to get clean photos of the users who liked you | |
// ==/UserScript== |
# solution for: | |
# https://stackoverflow.com/questions/12544056/how-to-i-get-the-current-ipython-notebook-name | |
# | |
# aimed at: | |
# IPython 4.2.0 and Python 3.5 | |
import json | |
import os | |
import urllib.request | |
import ipykernel |
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
Kullanımı:
aynı dizine .json
olarak dummy datayı koy sonra;
source ./server.sh
server_json
#!/usr/bin/env python | |
import os | |
import xml.parsers.expat | |
from xml.sax.saxutils import escape | |
from optparse import OptionParser | |
from math import log10 | |
# How much data we process at a time |
#!/bin/bash | |
# create folders. Ensure your directory is writable | |
mkdir -p jpegs/share; | |
# loops .NEF files in this directory. Subdirectories aren't supported | |
for f in *.NEF; | |
do | |
# gets filename and inserts .jpg at the end |
import re | |
import json | |
import luigi | |
import pandas as pd | |
from mysolr import Solr | |
from bs4 import BeautifulSoup | |
class InputText(luigi.ExternalTask): |
Create an empty git repo or reinitialize an existing one
git init