Python cheat codes
# Putting it before a line the code will not be read
In the list
Import a document = first import the document on drive and then check it
to see the format.
Upload
To upload it on google collab use the aqueduct file type with the code:
import pandas as pd
name = pd.read_csv(”[Link]”)
doc is the document uploaded check for any missing data
if the data is not read well due to different separators.
import pandas as pd
data=pd.read_csv("[Link]", sep=";", decimal =",")
to see and read the data in order to see if there are things missing.
[Link]() To have information regarding the
[Link]() data and the document. Different
[Link]() answers are given for each.
len(doc-name)
For graphs
[Link]()
print(xxxxxx) = To print anything
def To define a function
Libraries to upload:
import pandas as pd
import numpy as np
import scipy
import [Link] as stats
import [Link] as plt
import seaborn as sns
import math
import statistics
from math import sqrt