Add OpenClaw workspace configuration and tools
- Add agent configuration files (AGENTS.md, USER.md, IDENTITY.md, SOUL.md) - Add git configuration and skills management scripts - Add frontend/backend analysis tools and reports - Add DingTalk media sender utilities and documentation - Fix OpenClaw runtime environment (Node.js and Python) - Configure git remotes and push scripts
This commit is contained in:
30
create_test_excel.py
Normal file
30
create_test_excel.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""Create test Excel file with pandas"""
|
||||
|
||||
import pandas as pd
|
||||
|
||||
# Create test data
|
||||
data = {
|
||||
'Repository': ['openclaw/openclaw', 'github/copilot', 'nodejs/node', 'microsoft/vscode'],
|
||||
'URL': ['https://github.com/openclaw/openclaw', 'https://github.com/github/copilot', 'https://github.com/nodejs/node', 'https://github.com/microsoft/vscode'],
|
||||
'Stars': [1000, 5000, 90000, 150000],
|
||||
'Language': ['TypeScript', 'JavaScript', 'JavaScript', 'TypeScript'],
|
||||
'Description': ['Multi-channel AI gateway', 'AI pair programmer', 'JavaScript runtime', 'Code editor']
|
||||
}
|
||||
|
||||
# Create DataFrame
|
||||
df = pd.DataFrame(data)
|
||||
|
||||
# Save to Excel
|
||||
output_file = 'test_repo_data.xlsx'
|
||||
df.to_excel(output_file, index=False, sheet_name='Repositories')
|
||||
|
||||
print(f"Created {output_file} with {len(df)} rows")
|
||||
print("Columns:", list(df.columns))
|
||||
print("\nFirst few rows:")
|
||||
print(df.head())
|
||||
|
||||
# Also create a simple CSV for comparison
|
||||
csv_file = 'test_repo_data.csv'
|
||||
df.to_csv(csv_file, index=False)
|
||||
print(f"\nAlso created {csv_file}")
|
||||
Reference in New Issue
Block a user