Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

load-data.py 489 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  1. import orchest
  2. import pandas as pd
  3. # Convert the data into a DataFrame.
  4. INPUT_DIR = "Data"
  5. bcell = pd.read_csv(f"{INPUT_DIR}/input_bcell.csv")
  6. covid = pd.read_csv(f"{INPUT_DIR}/input_covid.csv")
  7. sars = pd.read_csv(f"{INPUT_DIR}/input_sars.csv")
  8. bcell_sars = pd.concat([bcell, sars], axis=0, ignore_index=True)
  9. # Output the Vaccine data
  10. print("Outputting converted Vaccine data...")
  11. orchest.output((bcell, covid, sars, bcell_sars), name="data")
  12. print(bcell_sars.shape)
  13. print("Success!")
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...