Filter By
title: "Filter By"
author: "Rj"
date: 2019-04-20
description: "List Test"
type: technical_note
draft: false
import os
import sys
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, ForeignKey, Integer, String
Base = declarative_base()
class City(Base):
__tablename__ = 'city'
# Here we define …
Read More
Filter-By-Multiple
title: "Filter By Multiple"
author: "Rj"
date: 2019-04-20
description: "List Test"
type: technical_note
draft: false
import os
import sys
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, ForeignKey, Integer, String
Base = declarative_base()
class City(Base):
__tablename__ = 'city'
# Here we …
Read More
Filter-By-Single-Column
title: "Filter by single column"
author: "Rj"
date: 2019-04-22
description: "-"
type: technical_note
draft: false
import numpy as np
import pandas as pd
df = pd.read_csv('abc.csv')
Read More
Filter-Like
title: "Filter Like"
author: "Rj"
date: 2019-04-20
description: "List Test"
type: technical_note
draft: false
import os
import sys
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, ForeignKey, Integer, String
Base = declarative_base()
class City(Base):
__tablename__ = 'city'
# Here we define …
Read More
Filter-With-Query
title: "Filter with Query"
author: "Rj"
date: 2019-04-22
description: "-"
type: technical_note
draft: false
import numpy as np
import pandas as pd
df = pd.read_csv('abc.csv')
|
student |
language |
science |
maths |
history … |
Read More
Filter-With-Value-Comparison
title: "Filter With Value Comparison"
author: "Rj"
date: 2019-04-24
description: "-"
type: technical_note
draft: false
import numpy as np
import pandas as pd
df = pd.read_csv('abc.csv')
|
student |
language |
science |
maths … |
Read More
Find-All
title: "Find All"
author: "Raja CSP Raman"
date: 2019-04-20
description: "-"
type: technical_note
draft: false
content = """OSPF Process 1 with Router ID 1.1.1.1
Area: 0.0.0.11
Link State Database
Router test
Maintenance
"""
'OSPF Process 1 with Router ID 1.1.1.1\n Area: 0 …
Read More
Find Multiple Whitespace
title: "Find Multiple Whitespace"
author: "Raja CSP Raman"
date: 2019-04-20
description: "-"
type: technical_note
draft: false
Help on function split in module re:
split(pattern, string, maxsplit=0, flags=0)
Split the source string by the occurrences of the pattern,
returning a list containing the resulting …
Read More
Find-Odd
title: "Find Odd"
author: "Raja CSP Raman"
date: 2019-05-02
description: "-"
type: technical_note
draft: false
import gensim.downloader as api
fasttext_model300 = api.load('fasttext-wiki-news-subwords-300')
print(fasttext_model300.doesnt_match(['one', 'two', 'eleven', 'thirty', 'tennis']))
tennis
/Users/rajacsp/anaconda3/envs/py36/lib/python3.6/site-packages/gensim/models/keyedvectors.py:858: FutureWarning: arrays to …
Read More
Find Python Location
title: "Find Python Location"
author: "Rj"
date: 2019-04-20
description: "-"
type: technical_note
draft: false
/Users/rajacsp/anaconda3/bin/python
Score: 0
Read More