- Each Function = New Column
- Apply to 1 Cell , later extend
- All Rows A:A
- "this is string"
String
=LEN(C1)
| from fastapi import FastAPI,Request | |
| from pydantic import BaseModel | |
| import uvicorn | |
| from smslottery import validate_bet | |
| from fastapi.middleware.cors import CORSMiddleware | |
| origins = ["*"] | |
| class Data(BaseModel): | |
| game:str | |
| text:str |
String
Array / 2D aray
LinkedList (Create ,append , display , ReverseDisplay, remove , Change value, Update By Index
class LinkedList:
def init(self,i):
| """ | |
| to Convert json data to Rows and Columns | |
| [{"data":[["2","2xg","2Q"],["1","3xg","3Q"]],"schema":[{"columnName":"CASE_UID","ordinal":0,"dataTypeName":"varchar"},{"columnName":"QUOTE_ID","ordinal":1,"dataTypeName":"varchar"},{"columnName":"OPP_NO","ordinal":2,"dataTypeName":"varchar"}]}] | |
| """ | |
| from pyspark.sql.functions import * | |
| from pyspark.sql.types import * |
Note : For Mongo Cloud
ref:
SQL VS MongoDB
Pre-Req:
$which python) and Keep it handypip3 install ipython #optionalpip3 install pyspark