Aquesta és una revisió antiga del document


Python Pandas

  • pip3 install pandas
  • soporte para excel:
    pip3.9 install openpyxl # needed to load Excel .xlsx files
    pip3.9 install xlrd # needed to load Excel old .xls files)
# segundo bokeh plot con pandas
from bokeh.plotting import figure
from bokeh.io import output_file, show
import pandas
 
df=pandas.read_csv("https://pythonizing.github.io/data/bachelors.csv")
 
x=df["Year"]
y=df["Engineering"]
 
output_file("Line.html")
 
f=figure()
f.line(x,y)
 
show(f)
  • development/python/pandas.1728561206.txt.gz
  • Darrera modificació: 10/10/2024 04:53
  • per mate