Python program to read a CSV file using Pandas

data.csv

import pandas as pd
X=pd.read_csv("data.csv")
type(X)
X
X.info( )
X.head( )
X.head(10)

Python program to renaming the file or directory

# X is the original name and Y is the name to be changed
import os, sys
print ("The dir is: %s"%os.listdir(os.getcwd()))
os.rename("X","Y")  
print ("Successfully renamed.")
print ("the dir is: %s" %os.listdir(os.getcwd()))

Python Libraries for General AI

  • AIMA – Python implementation of algorithms from Russell and Norvig’s ‘Artificial Intelligence: A Modern Approach’
  • pyDatalog – Logic Programming engine in Python
  • SimpleAI – Python implementation of many of the artificial intelligence algorithms described on the book “Artificial Intelligence, a Modern Approach”. It focuses on providing an easy to use, well documented and tested library.
  • EasyAI – Simple Python engine for two-players games with AI (Negamax, transposition tables, game solving).

Gene Set Enrichment Analysis in Python

GSEAPY is a python wrapper for GSEA and Enrichr.
GSEAPY has five subcommands: gsea, prerank, ssgsea, replot enrichr.

PyTorch - From Research To Production

An open source deep learning platform that provides a seamless path from research prototyping to production deployment. PyTorch enables fast, flexible experimentation and efficient production through a hybrid front-end, distributed training, and ecosystem of tools and libraries.

Website